<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lavi Sp on Medium]]></title>
        <description><![CDATA[Stories by Lavi Sp on Medium]]></description>
        <link>https://medium.com/@lavisp?source=rss-55dd8d413c34------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*o_6GljRovmI9iFsZ</url>
            <title>Stories by Lavi Sp on Medium</title>
            <link>https://medium.com/@lavisp?source=rss-55dd8d413c34------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 13:00:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lavisp/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Kydavra ICAReducer for reducing the dimensionality of your data]]></title>
            <link>https://medium.com/softplus-publication/kydavra-icareducer-for-reducing-the-dimensionality-of-your-data-37b610533c6e?source=rss-55dd8d413c34------2</link>
            <guid isPermaLink="false">https://medium.com/p/37b610533c6e</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[kydavra]]></category>
            <category><![CDATA[sigmoid]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Lavi Sp]]></dc:creator>
            <pubDate>Fri, 14 Jan 2022 22:32:22 GMT</pubDate>
            <atom:updated>2022-01-14T22:32:22.860Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8nsNYOzQasBzxn5Sa6FqPQ.png" /></figure><h3>What is ICAReducer?</h3><p>ICAReducer works as follows, it reduces the highly correlated features between them to one column. Is quite similar to PCAReducer, although it’s using the Fast ICA algorithm, which separates a mixed signal into additive subcomponents.</p><p>Further, we will use ICAReducer to simplify a classification or regression dataset in order to better fit our predictive model.</p><h3>Using Kydavra ICAReducer.</h3><p>Let’s first install kydavra by typing the following line. (Ensure that you have the 0.3 version).</p><pre>pip install kydavra</pre><p>Now, import the filter:</p><pre>from kydavra import ICAFilter</pre><p>Please take into account that<strong> ICAReducer</strong> has the following parameters:</p><ul><li><strong>min_corr </strong>(<em>float, between 0 and 1, default=0.5</em>) the minimal value of the correlation coefficient to be selected for reduction.</li><li><strong>max_corr </strong>(<em>float, between 0 and 1, default=0.8</em>) the maximal value of the correlation coefficient to be selected for reduction.</li><li><strong>correlation_type</strong>(<em>str, default=’pearson’)</em></li></ul><p>Next, let’s create an object to apply to the <a href="https://www.kaggle.com/ronitf/heart-disease-uci">Hearth Disease UCI dataset</a>.</p><pre>import pandas as pd</pre><pre>df = pd.read_csv(&#39;heart.csv&#39;)</pre><pre>icar = ICAReducer(min_corr=0.4, max_corr=0.7)<br>new_df = icar.reduce(df, &#39;target&#39;)<br>X = new_df.drop(columns=[&#39;target&#39;])<br>y = new_df[&#39;target&#39;]<br>print(f&#39;{accuracy_score(y_test, logit.predict(X_test))}&#39;)</pre><p>Below, you can see the accuracy_score before and after we applied ICAReducer:</p><pre>0.8157894736842105<br>0.8421052631578947</pre><p>Also, we recommend trying other reducers from kydavra to have higher accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*z6-XWtRlCDKciBd3eS4PzQ.gif" /></figure><p>Made with ❤ by Sigmoid.</p><p>Follow us on Facebook, Instagram and LinkedIn:</p><p><a href="https://www.facebook.com/sigmoidAI">https://www.facebook.com/sigmoidAI</a></p><p><a href="https://www.instagram.com/sigmo.ai/">https://www.instagram.com/sigmo.ai/</a></p><p><a href="https://www.linkedin.com/company/sigmoid/?fbclid=IwAR1KOuBgH9JODVF1Zh_Agv0Lc5R_9SnM1DqICHEhUS3AVmOZbWvTfMzsnes">https://www.linkedin.com/company/sigmoid/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37b610533c6e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/softplus-publication/kydavra-icareducer-for-reducing-the-dimensionality-of-your-data-37b610533c6e">Kydavra ICAReducer for reducing the dimensionality of your data</a> was originally published in <a href="https://medium.com/softplus-publication">softplus-publication</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decompose your mixed signals with Kydavra ICAFilter]]></title>
            <link>https://medium.com/softplus-publication/decompose-your-mixed-signals-with-kydavra-icafilter-cc39160b7d29?source=rss-55dd8d413c34------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc39160b7d29</guid>
            <category><![CDATA[kydavra]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[sigmoid]]></category>
            <dc:creator><![CDATA[Lavi Sp]]></dc:creator>
            <pubDate>Fri, 14 Jan 2022 22:31:39 GMT</pubDate>
            <atom:updated>2022-01-14T22:31:39.351Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p99d2BWfRgVKGwNsC7c8Dg.png" /></figure><h3>What is ICAFilter?</h3><p>It’s a filter that uses the Fast ICA algorithm. Unlike PCA that reduces the dimensions, Independent Component Analysis decomposes the mixed signals. After that it brings the filtered form of the pandas data frame as independent non-Gaussian signals.</p><p>ICA will find these independent components, also called sources, factors or latent variables from the data variables which are assumed to be linear mixtures. That’s why ICA is considered to be a more powerful technique.</p><h3>Using Kydavra ICAFilter.</h3><p>Let’s first install kydavra by typing the following line. (Ensure that you have the 0.3 version).</p><pre>pip install kydavra</pre><p>Next, let’s import the filter:</p><pre>from kydavra import ICAFilter</pre><p>Now, we will import the <a href="https://www.kaggle.com/ronitf/heart-disease-uci">Hearth Disease UCI dataset</a>.</p><pre>import pandas as pd</pre><pre>df = pd.read_csv(&#39;heart.csv&#39;)</pre><p>Let’s create an object and apply it to our dataset.</p><pre>for i in range(1, 10):<br>    ica_filt = ICAFilter(n_components=i)<br>    new_df = ica_filt.filter(df, &#39;target&#39;)<br>    X = new_df.iloc[:, :-1].values<br>    y = new_df[&#39;target&#39;].values<br>    print(f&quot;{i} - {np.mean(cross_val_score(logit, X, y))}&quot;)</pre><p>We get the following result:</p><pre>1 - 0.5314207650273224<br>2 - 0.7095628415300547<br>3 - 0.6998907103825136<br>4 - 0.6998907103825136<br>5 - 0.7954098360655737<br>6 - 0.8084153005464481<br>7 - 0.8051366120218578<br>8 - 0.8381420765027322<br>9 - 0.8380874316939891</pre><p>From the following output, we can see the best cross_val_score is 0.838. Also, we recommend trying other selectors from kydavra to have higher accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*z6-XWtRlCDKciBd3eS4PzQ.gif" /></figure><p>Made with ❤ by Sigmoid.</p><p>Follow us on Facebook, Instagram and LinkedIn:</p><p><a href="https://www.facebook.com/sigmoidAI">https://www.facebook.com/sigmoidAI</a></p><p><a href="https://www.instagram.com/sigmo.ai/">https://www.instagram.com/sigmo.ai/</a></p><p><a href="https://www.linkedin.com/company/sigmoid/?fbclid=IwAR1KOuBgH9JODVF1Zh_Agv0Lc5R_9SnM1DqICHEhUS3AVmOZbWvTfMzsnes">https://www.linkedin.com/company/sigmoid/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc39160b7d29" width="1" height="1" alt=""><hr><p><a href="https://medium.com/softplus-publication/decompose-your-mixed-signals-with-kydavra-icafilter-cc39160b7d29">Decompose your mixed signals with Kydavra ICAFilter</a> was originally published in <a href="https://medium.com/softplus-publication">softplus-publication</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>