<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Ask Ghassem - Recent questions tagged programming</title>
<link>https://ask.ghassem.com/tag/programming</link>
<description>Powered by Question2Answer</description>
<item>
<title>The old keypad of the telephone, it has 10 sume. yypad.  after that yout</title>
<link>https://ask.ghassem.com/984/the-old-keypad-of-the-telephone-has-sume-yypad-after-that-yout</link>
<description>هاد سؤال رياضيات متقطعة&lt;br /&gt;
&lt;br /&gt;
The old keypad of the telephone, it has 10 numbers (10 keys) , this keypad allows the user to enter a text by successively pressing certain key many times in a small period of time. you need to draw a graph of entering a text input using this keypad. &amp;nbsp;after that you need to have a certain algorithm of finding the length of a path to enter certain text</description>
<category>Web Development</category>
<guid isPermaLink="true">https://ask.ghassem.com/984/the-old-keypad-of-the-telephone-has-sume-yypad-after-that-yout</guid>
<pubDate>Tue, 04 May 2021 14:39:49 +0000</pubDate>
</item>
<item>
<title>How to remove unwanted Jupyter notebook kernels?</title>
<link>https://ask.ghassem.com/947/how-to-remove-unwanted-jupyter-notebook-kernels</link>
<description>Whener I run Jupyter notebook there are some kernels that do not exist on system and generate errors. How can I remove them?</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/947/how-to-remove-unwanted-jupyter-notebook-kernels</guid>
<pubDate>Fri, 30 Oct 2020 17:15:17 +0000</pubDate>
</item>
<item>
<title>Looking for program to graph a network with 2 clusters.</title>
<link>https://ask.ghassem.com/918/looking-for-program-to-graph-a-network-with-2-clusters</link>
<description>&lt;p&gt;I&#039;m a PhD student using qualitative content analysis to look at a number of documents to identify a norm cluster. The structure of the norms I&#039;m trying to look at is that &quot;ideations&quot; link to &quot;behaviors&quot;. I&#039;ve coded the documents so that I know I have a spreadsheet with the coded behaviors in rows and the ideations in columns. The number in a cell then shows the overlap between a behavior and an ideation.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;I&#039;m looking for a program&amp;nbsp;that would allow me to graphically portray this so that the ideations appear as bubbles clustered together, size dependent upon the number of times they were coded, with all behaviors clustered together in the same way and lines (size dependent on the strength of the connection) connecting the two. A simple example of this can be found on page 28 of &lt;a rel=&quot;nofollow&quot; href=&quot;https://minerva-access.unimelb.edu.au/bitstream/handle/11343/214510/EJIR%20Norm%20structure%20and%20evolution%20for%20Minerva.pdf?sequence=1&amp;amp;isAllowed=y&quot;&gt;this&lt;/a&gt;&amp;nbsp;(problem is constant in my question).&lt;/p&gt;

&lt;p&gt;Thanks in advance for any answers.&lt;/p&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://ask.ghassem.com/918/looking-for-program-to-graph-a-network-with-2-clusters</guid>
<pubDate>Fri, 28 Aug 2020 09:46:16 +0000</pubDate>
</item>
<item>
<title>How to share a Jupyter Notebook document on Google Colab?</title>
<link>https://ask.ghassem.com/836/how-to-share-a-jupyter-notebook-document-on-google-colab</link>
<description>How can I give access to others to view, comment or edit my Jupyter Notebook on Google Colab?</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/836/how-to-share-a-jupyter-notebook-document-on-google-colab</guid>
<pubDate>Thu, 27 Feb 2020 16:17:13 +0000</pubDate>
</item>
<item>
<title>What is the best approach for learning Web Development? Hands-On vs Theoretical?</title>
<link>https://ask.ghassem.com/633/what-best-approach-learning-development-hands-theoretical</link>
<description></description>
<category>Web Development</category>
<guid isPermaLink="true">https://ask.ghassem.com/633/what-best-approach-learning-development-hands-theoretical</guid>
<pubDate>Mon, 20 May 2019 11:51:39 +0000</pubDate>
</item>
<item>
<title>What are the best resources you know for learning web programming?</title>
<link>https://ask.ghassem.com/627/what-are-the-best-resources-you-know-for-learning-programming</link>
<description></description>
<category>Web Development</category>
<guid isPermaLink="true">https://ask.ghassem.com/627/what-are-the-best-resources-you-know-for-learning-programming</guid>
<pubDate>Mon, 13 May 2019 14:17:46 +0000</pubDate>
</item>
<item>
<title>How to open Jupyter notebook files on Windows or Mac without web browser?</title>
<link>https://ask.ghassem.com/585/how-open-jupyter-notebook-files-windows-mac-without-browser</link>
<description></description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/585/how-open-jupyter-notebook-files-windows-mac-without-browser</guid>
<pubDate>Sat, 16 Mar 2019 23:36:01 +0000</pubDate>
</item>
<item>
<title>Which scenarios among the following are a valid reason to use regularization?</title>
<link>https://ask.ghassem.com/451/which-scenarios-among-following-valid-reason-regularization</link>
<description>A. To drop the least useful variables of a model&lt;br /&gt;
&lt;br /&gt;
B. To reduce over-fitting&lt;br /&gt;
&lt;br /&gt;
C. To reduce the bias of a model&lt;br /&gt;
&lt;br /&gt;
D. To decrease p-value</description>
<category>Data Science Interview Questions</category>
<guid isPermaLink="true">https://ask.ghassem.com/451/which-scenarios-among-following-valid-reason-regularization</guid>
<pubDate>Sat, 27 Oct 2018 17:31:43 +0000</pubDate>
</item>
<item>
<title>How to transform categorical variable into a matrix binary feature?</title>
<link>https://ask.ghassem.com/449/transform-categorical-variable-into-matrix-binary-feature</link>
<description>Which of the following feature transformations would be a good choice to transform a categorical variable into a matrix binary feature?&lt;br /&gt;
&lt;br /&gt;
A. One-hot-encoding&lt;br /&gt;
&lt;br /&gt;
B. Principal Component Analysis (PCA)&lt;br /&gt;
&lt;br /&gt;
C. Box-Cox&lt;br /&gt;
&lt;br /&gt;
D. Informative prior</description>
<category>Data Science Interview Questions</category>
<guid isPermaLink="true">https://ask.ghassem.com/449/transform-categorical-variable-into-matrix-binary-feature</guid>
<pubDate>Sat, 27 Oct 2018 17:23:08 +0000</pubDate>
</item>
<item>
<title>ploting the xticks to be datatime</title>
<link>https://ask.ghassem.com/432/ploting-the-xticks-to-be-datatime</link>
<description>&lt;p&gt;I have a dataframe&amp;nbsp;like below&lt;/p&gt;

&lt;pre class=&quot;prettyprint lang-python&quot; data-pbcklang=&quot;python&quot; data-pbcktabsize=&quot;4&quot;&gt;
                    MT_001	    MT_002	    hour
2012-01-01 00:15:00	3.807107	22.759602	00:15:00
2012-01-01 00:30:00	5.076142	22.759602	00:30:00
2012-01-01 00:45:00	3.807107	22.759602	00:45:00
2012-01-01 01:00:00	3.807107	22.759602	01:00:00
2012-01-01 01:15:00	5.076142	22.048364	01:15:00&lt;/pre&gt;

&lt;p&gt;I can easily plot it using&lt;/p&gt;

&lt;pre class=&quot;prettyprint lang-python&quot; data-pbcklang=&quot;python&quot; data-pbcktabsize=&quot;4&quot;&gt;
data.plot()
plt.show()&lt;/pre&gt;

&lt;p&gt;However, this doesn&#039;t show the xlabel. What if i want to see the graph where the xlabel&amp;nbsp;shows the ticks&amp;nbsp;with 4 hours apart?&lt;/p&gt;</description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/432/ploting-the-xticks-to-be-datatime</guid>
<pubDate>Sat, 20 Oct 2018 00:47:40 +0000</pubDate>
</item>
<item>
<title>How can you tell a Python library is a good one and useful?</title>
<link>https://ask.ghassem.com/425/how-can-you-tell-a-python-library-is-a-good-one-and-useful</link>
<description>If a big company such as Google behind it, with high probability it is a great library such as TensorFlow. But in general how can I found out?</description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/425/how-can-you-tell-a-python-library-is-a-good-one-and-useful</guid>
<pubDate>Fri, 19 Oct 2018 03:46:23 +0000</pubDate>
</item>
<item>
<title>In a dataframe of a size (5,10) with random values, how to have exactly 5 NAN values in each row?</title>
<link>https://ask.ghassem.com/420/dataframe-size-with-random-values-have-exactly-values-each</link>
<description></description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/420/dataframe-size-with-random-values-have-exactly-values-each</guid>
<pubDate>Wed, 17 Oct 2018 16:49:07 +0000</pubDate>
</item>
<item>
<title>plotting categorical radio</title>
<link>https://ask.ghassem.com/414/plotting-categorical-radio</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am trying to gain insight of the data but having hard time plotting it.&lt;/p&gt;

&lt;p&gt;Suppose I have a data frame like below&lt;/p&gt;

&lt;table border=&quot;1&quot; cellpadding=&quot;1&quot; style=&quot;width:500px&quot;&gt;
	&lt;thead&gt;
		&lt;tr&gt;
			&lt;th scope=&quot;col&quot;&gt;ID&lt;/th&gt;
			&lt;th scope=&quot;col&quot;&gt;Feature 1&lt;/th&gt;
			&lt;th scope=&quot;col&quot;&gt;Class&lt;/th&gt;
		&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;1&lt;/td&gt;
			&lt;td&gt;a&lt;/td&gt;
			&lt;td&gt;good&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;2&lt;/td&gt;
			&lt;td&gt;a&lt;/td&gt;
			&lt;td&gt;good&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;3&lt;/td&gt;
			&lt;td&gt;b&lt;/td&gt;
			&lt;td&gt;good&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;4&lt;/td&gt;
			&lt;td&gt;b&lt;/td&gt;
			&lt;td&gt;bad&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;5&lt;/td&gt;
			&lt;td&gt;a&lt;/td&gt;
			&lt;td&gt;bad&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;6&lt;/td&gt;
			&lt;td&gt;a&lt;/td&gt;
			&lt;td&gt;bad&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;7&lt;/td&gt;
			&lt;td&gt;b&lt;/td&gt;
			&lt;td&gt;bad&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;In the above dataframe&amp;nbsp;I have one feature &quot;a&quot; and &quot;b&quot; each has a good and bad class value.&lt;/p&gt;

&lt;p&gt;for e.g&lt;/p&gt;

&lt;p&gt;feature &quot;a&quot; has 2 good and 2 bad classes&amp;nbsp;&lt;/p&gt;

&lt;p&gt;feature &quot;b&quot; has 1 good and 2 bad classes&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;How do i visualize this and plot it in python ?&lt;/li&gt;
	&lt;li&gt;How would I do it for more than one features in different subplots?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sorry if this question seems like a very basic question to ask&amp;nbsp;&lt;/p&gt;</description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/414/plotting-categorical-radio</guid>
<pubDate>Wed, 17 Oct 2018 02:25:36 +0000</pubDate>
</item>
<item>
<title>My own transformation for dropping feature doesn&#039;t work</title>
<link>https://ask.ghassem.com/413/my-own-transformation-for-dropping-feature-doesnt-work</link>
<description>&lt;p&gt;I made my own transformation to drop some of the features not required in the dataframe but I can&#039;t seem to get it working. Thoughts ?&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://repl.it/@Neo_sauga/HarmfulNearApplicationstack&quot;&gt;https://repl.it/@Neo_sauga/HarmfulNearApplicationstack&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/413/my-own-transformation-for-dropping-feature-doesnt-work</guid>
<pubDate>Wed, 17 Oct 2018 00:52:29 +0000</pubDate>
</item>
<item>
<title>How to force Jupyter Notebook to print all the variables in each cell, not just the last one?</title>
<link>https://ask.ghassem.com/316/force-jupyter-notebook-print-variables-each-cell-just-last</link>
<description></description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/316/force-jupyter-notebook-print-variables-each-cell-just-last</guid>
<pubDate>Thu, 11 Oct 2018 23:13:47 +0000</pubDate>
</item>
<item>
<title>How to update &quot;conda&quot; version itself?</title>
<link>https://ask.ghassem.com/313/how-to-update-conda-version-itself</link>
<description>&lt;p&gt;I can update all the libraries and&amp;nbsp;packages on Anaconda using the following command:&lt;/p&gt;

&lt;pre class=&quot;prettyprint lang-python&quot; data-pbcklang=&quot;python&quot; data-pbcktabsize=&quot;4&quot;&gt;
conda update --all&amp;nbsp;&lt;/pre&gt;

&lt;p&gt;But it does not update &lt;strong&gt;conda&lt;/strong&gt;&amp;nbsp;itself. Is there any special command for it?&lt;/p&gt;</description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/313/how-to-update-conda-version-itself</guid>
<pubDate>Wed, 10 Oct 2018 16:55:17 +0000</pubDate>
</item>
<item>
<title>How should I count the number of operations in an algorithm?</title>
<link>https://ask.ghassem.com/282/how-should-i-count-the-number-of-operations-in-an-algorithm</link>
<description>&lt;p&gt;Assume we have the following algorithm:&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; height=&quot;406&quot; src=&quot;https://i.imgur.com/MtqyPsf.png&quot; width=&quot;300&quot;&gt;&lt;/p&gt;

&lt;p&gt;How should I count the number of each operation?&lt;/p&gt;</description>
<category>Data Structures and Algorithms</category>
<guid isPermaLink="true">https://ask.ghassem.com/282/how-should-i-count-the-number-of-operations-in-an-algorithm</guid>
<pubDate>Sat, 06 Oct 2018 13:54:25 +0000</pubDate>
</item>
<item>
<title>What is the fastest way to learn scikit-learn?</title>
<link>https://ask.ghassem.com/153/what-is-the-fastest-way-to-learn-scikit-learn</link>
<description>I know Python and I am looking for the fastest way or a quick tutorial to learn how start using scikit-learn library.</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/153/what-is-the-fastest-way-to-learn-scikit-learn</guid>
<pubDate>Tue, 25 Sep 2018 16:23:43 +0000</pubDate>
</item>
<item>
<title>What is an advantage and a disadvantage to work together as a multidisciplinary team on a project?</title>
<link>https://ask.ghassem.com/111/advantage-disadvantage-together-multidisciplinary-project</link>
<description></description>
<category>Human Computer Interaction</category>
<guid isPermaLink="true">https://ask.ghassem.com/111/advantage-disadvantage-together-multidisciplinary-project</guid>
<pubDate>Mon, 24 Sep 2018 13:37:47 +0000</pubDate>
</item>
<item>
<title>What does direct interaction and indirect interaction involve.</title>
<link>https://ask.ghassem.com/110/what-does-direct-interaction-indirect-interaction-involve</link>
<description></description>
<category>Human Computer Interaction</category>
<guid isPermaLink="true">https://ask.ghassem.com/110/what-does-direct-interaction-indirect-interaction-involve</guid>
<pubDate>Mon, 24 Sep 2018 13:29:17 +0000</pubDate>
</item>
<item>
<title>Can someone please post the video tutorial for Pandas, Numpy and Matplotlib ?</title>
<link>https://ask.ghassem.com/69/someone-please-post-video-tutorial-pandas-numpy-matplotlib</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
If someone can post the video tutorial for Pandas, Numpy and Matplotlib. I would appreciate it. I know that Lynda.com has those videos but I still have to get my Library card.&lt;br /&gt;
&lt;br /&gt;
Thanks,</description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/69/someone-please-post-video-tutorial-pandas-numpy-matplotlib</guid>
<pubDate>Wed, 19 Sep 2018 13:20:32 +0000</pubDate>
</item>
<item>
<title>Can someone please post instructions on how to install Anaconda?</title>
<link>https://ask.ghassem.com/68/can-someone-please-post-instructions-how-install-anaconda</link>
<description>Can someone please provide detail instructions on how to install Anaconda and how to use Jupyter notebook with it ?</description>
<category>Programming</category>
<guid isPermaLink="true">https://ask.ghassem.com/68/can-someone-please-post-instructions-how-install-anaconda</guid>
<pubDate>Wed, 19 Sep 2018 13:14:19 +0000</pubDate>
</item>
<item>
<title>What are the best tools and resources for learning programming?</title>
<link>https://ask.ghassem.com/8/what-are-the-best-tools-and-resources-learning-programming</link>
<description>I am wondering if anyone can suggest the best resources and tools for learning programming?</description>
<category>Programming</category>
<guid isPermaLink="true">https://ask.ghassem.com/8/what-are-the-best-tools-and-resources-learning-programming</guid>
<pubDate>Sun, 26 Aug 2018 08:10:32 +0000</pubDate>
</item>
</channel>
</rss>