<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Ask Ghassem - Recent activity in General</title>
<link>https://ask.ghassem.com/activity/data-science/general</link>
<description>Powered by Question2Answer</description>
<item>
<title>Recategorized: Battery data projects</title>
<link>https://ask.ghassem.com/1017/battery-data-projects?show=1017#q1017</link>
<description>Where can I find projects related to battery data?</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/1017/battery-data-projects?show=1017#q1017</guid>
<pubDate>Thu, 03 Mar 2022 09:42:53 +0000</pubDate>
</item>
<item>
<title>How can you build dynamic pricing model with data only from rigid pricing?</title>
<link>https://ask.ghassem.com/1016/build-dynamic-pricing-model-with-data-only-from-rigid-pricing</link>
<description>I want to build a dynamic pricing model which means if product is too expansive for a client and there is a risk that we might loose a client we lower the price for them but if client doesn&amp;#039;t care that much about the price we might increase price a little.&lt;br /&gt;
&lt;br /&gt;
All the articles I&amp;#039;ve seen describe some kind of A/B testing for the pricing and then create a model.&lt;br /&gt;
&lt;br /&gt;
I want to build a model only on the existing rigid pricing data. So I have prices offered to customers and I know who bought the product and who went to other company.&lt;br /&gt;
&lt;br /&gt;
How can I do the increasing price part?</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/1016/build-dynamic-pricing-model-with-data-only-from-rigid-pricing</guid>
<pubDate>Fri, 21 Jan 2022 06:44:31 +0000</pubDate>
</item>
<item>
<title>Text Mining, Artificial Neural Networks, Speech Processing, Cloud Computing in DS? Essential for a good Data Scientist ?</title>
<link>https://ask.ghassem.com/1004/artificial-networks-processing-computing-essential-scientist</link>
<description></description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/1004/artificial-networks-processing-computing-essential-scientist</guid>
<pubDate>Wed, 27 Oct 2021 19:15:16 +0000</pubDate>
</item>
<item>
<title>Classification of data object might be incorrect</title>
<link>https://ask.ghassem.com/1003/classification-of-data-object-might-be-incorrect</link>
<description>&lt;p&gt;I am learning a new Salesforce product (Evergage) for the company I work for. In the program&#039;s documentation they have listed a set of data objects as an example. It appears to me that the classification might be incorrect. Their system makes a division between &#039;catalog objects&#039; and &#039;profile objects&#039; and the example they have given is a banking institution. They classified &lt;em&gt;Customer Credit Card &lt;/em&gt;as a &lt;em&gt;profile objec&lt;/em&gt;t and &lt;em&gt;Credit Card Level &lt;/em&gt;as a &lt;em&gt;catalog object. &lt;/em&gt;Seems to me that it should be the other way i.e &lt;em&gt;Customer Credit Card = catalog &lt;/em&gt;&lt;em&gt;object &lt;/em&gt;and &lt;em&gt;Credit Card Level &lt;/em&gt;=&amp;nbsp;&lt;em&gt;profile objec&lt;/em&gt;t. Maybe I am not reading the context correctly?&lt;/p&gt;

&lt;p&gt;here is a link to an image with the complete classification: &lt;a rel=&quot;nofollow&quot; href=&quot;https://drive.google.com/file/d/1nG4aX4Ty_NoHxm04AQo1Ow61m3MZ3pXm/view?usp=sharing&quot;&gt;https://drive.google.com/file/d/1nG4aX4Ty_NoHxm04AQo1Ow61m3MZ3pXm/view?usp=sharing&lt;/a&gt;&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/1003/classification-of-data-object-might-be-incorrect</guid>
<pubDate>Mon, 25 Oct 2021 15:26:46 +0000</pubDate>
</item>
<item>
<title>Can Data Science solve this problem?</title>
<link>https://ask.ghassem.com/1002/can-data-science-solve-this-problem</link>
<description>So, I live in Brazil, and I have a task for college that I don&amp;#039;t know what data science method to use, if at all, to solve it. My idea is the following: We Brazilians have Real (BRL) as currency, and we of course have the dollar quotation value to see &amp;quot;how many Reais a dollar is worth&amp;quot;. What I wanted to do was to make a research and see whether the Country News have any influence over this price. So for example, if Bolsonaro, our president, says some dumb stuff, the dollar got up in price, and vice versa. What I wanted to do was collect all dollar values and variance over a set time interval, and try and get webscraping to get the news over some economy sites. Here&amp;#039;s my question then: How can I correlate the news with the dollar variance over a set time? Can data science do that? How do I preprocess this, if at all? Do I need to use bag-of-words? At least I heard so... Please help and thank you for reading.</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/1002/can-data-science-solve-this-problem</guid>
<pubDate>Sun, 24 Oct 2021 15:43:11 +0000</pubDate>
</item>
<item>
<title>Searching for movie dataset containing movie synopses/plots?</title>
<link>https://ask.ghassem.com/988/searching-for-movie-dataset-containing-movie-synopses-plots</link>
<description>Hello&lt;br /&gt;
To build a hybrid recommendation system, I used the movielens 1M dataset, for the collaborative filtering part. Now, I&amp;#039;m looking for a database/dataset that contains descriptions/summaries/details/synopses/plots of movies for the content-based recommendation.&lt;br /&gt;
Is there someone who could help me and tell me where I can find a such dataset?&lt;br /&gt;
thank you in advance.</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/988/searching-for-movie-dataset-containing-movie-synopses-plots</guid>
<pubDate>Thu, 27 May 2021 09:57:31 +0000</pubDate>
</item>
<item>
<title>My GloVe word embeddings contain sentiment?</title>
<link>https://ask.ghassem.com/972/my-glove-word-embeddings-contain-sentiment</link>
<description>&lt;p&gt;I&#039;ve been researching sentiment analysis with word embeddings. I read papers that state that word embeddings ignore sentiment information of the words in the text. One paper states that among the top 10 words that are semantically similar, around 30 percent of words have opposite polarity e.g. happy - sad.&lt;/p&gt;

&lt;p&gt;So, I computed word embeddings on my dataset (Amazon reviews) with the GloVe algorithm in R. Then, I looked at the most similar words with cosine similarity and I found that actually every word is sentimentally similar. (E.g. beautiful - lovely - gorgeous - pretty - nice - love). Therefore, I was wondering how this is possible since I expected the opposite from reading several papers. What could be the reason for my findings?&lt;/p&gt;

&lt;p&gt;Two of the many papers I read:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Yu, L. C., Wang, J., Lai, K. R. &amp;amp; Zhang, X. (2017). Refining Word Embeddings Using Intensity Scores for Sentiment Analysis. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 26(3), 671-681.&lt;/li&gt;
&lt;li&gt;Tang, D., Wei, F., Yang, N., Zhou, M., Liu, T. &amp;amp; Qin, B. (2014). Learning Sentiment-Specific Word Embedding for Twitter Sentiment Classification. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, 1: Long Papers, 1555-1565&lt;/li&gt;
&lt;/ul&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/972/my-glove-word-embeddings-contain-sentiment</guid>
<pubDate>Sun, 03 Jan 2021 14:09:37 +0000</pubDate>
</item>
<item>
<title>Answered: How to remove unwanted Jupyter notebook kernels?</title>
<link>https://ask.ghassem.com/947/how-to-remove-unwanted-jupyter-notebook-kernels?show=948#a948</link>
<description>&lt;p&gt;You can see the list of installed kernels:&lt;/p&gt;

&lt;pre class=&quot;prettyprint lang-python&quot; data-pbcklang=&quot;python&quot; data-pbcktabsize=&quot;4&quot;&gt;
jupyter kernelspec list
&lt;/pre&gt;

&lt;p&gt;And then remove those you want with follows (replace the name of the &lt;em&gt;kernel&lt;/em&gt; you want to remove in following command)&lt;/p&gt;

&lt;pre class=&quot;prettyprint lang-python&quot; data-pbcklang=&quot;python&quot; data-pbcktabsize=&quot;&quot;&gt;
jupyter kernelspec remove &lt;em&gt;kernel&lt;/em&gt;&lt;/pre&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/947/how-to-remove-unwanted-jupyter-notebook-kernels?show=948#a948</guid>
<pubDate>Fri, 30 Oct 2020 17:18:25 +0000</pubDate>
</item>
<item>
<title>How can this data be structured for mongodb</title>
<link>https://ask.ghassem.com/889/how-can-this-data-be-structured-for-mongodb</link>
<description>&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://prnt.sc/tkr2g7&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://prnt.sc/tkr2g7&quot; target=&quot;_blank&quot;&gt;https://prnt.sc/tkr2g7&lt;/a&gt; Hello I have a PFE about determining risks of pedestrians, and I have to make a simulator to generate data with something related to this, this is my first time working on this. I would like to know, the structure of data, I will be working with mangodb, so I would love to see an example on JSON&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/889/how-can-this-data-be-structured-for-mongodb</guid>
<pubDate>Sun, 19 Jul 2020 19:08:50 +0000</pubDate>
</item>
<item>
<title>Answered: What are the differences among Data Science, Artificial Intelligence and Machine Learning?</title>
<link>https://ask.ghassem.com/842/differences-science-artificial-intelligence-machine-learning?show=843#a843</link>
<description>&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.datacamp.com/resources/whitepapers/ai-and-machine-learning&quot;&gt;This whitepaper&lt;/a&gt;&amp;nbsp;contains great insights on each. In a nutshell:&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Artificial Intelligence (AI)&lt;/strong&gt; is a “a huge set of tools for making computers behave intelligently” and in an automated fashion. This includes voice assistants, recommendation systems, and self-driving cars.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Machine Learning (ML)&lt;/strong&gt; is the “field of study that gives computers the ability to learn without being explicitly programed.” The lion’s share of ML involves computers learning patterns from existing data and applying it to new data in the form of making predictions, such as predicting whether an email is spam or not, whether a customer will churn or not, and diagnosing a particular piece of medical imaging.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Science (DS)&lt;/strong&gt; is about making discoveries and creating insights from data and communicating these insights and discoveries to non-technical stakeholders.&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/842/differences-science-artificial-intelligence-machine-learning?show=843#a843</guid>
<pubDate>Thu, 05 Mar 2020 03:06:12 +0000</pubDate>
</item>
<item>
<title>Answered: How to convert Jupyter Notebook or a webpage to PDF using Chrome?</title>
<link>https://ask.ghassem.com/840/how-to-convert-jupyter-notebook-or-webpage-pdf-using-chrome?show=841#a841</link>
<description>&lt;p&gt;Please take a look at short video below. However it is shown for Google Colab, it can be applied to other document types (Any webpage!)&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=pNbPQmrfVFY&quot;&gt;https://www.youtube.com/watch?v=pNbPQmrfVFY&lt;/a&gt;&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/840/how-to-convert-jupyter-notebook-or-webpage-pdf-using-chrome?show=841#a841</guid>
<pubDate>Thu, 27 Feb 2020 18:41:45 +0000</pubDate>
</item>
<item>
<title>Answered: 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?show=837#a837</link>
<description>&lt;p&gt;Please watch the following short video which explains sharing Jupyter Notebooks on Google Colab:&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=oJwe1bxA4jQ&quot;&gt;https://www.youtube.com/watch?v=oJwe1bxA4jQ&lt;/a&gt;&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/836/how-to-share-a-jupyter-notebook-document-on-google-colab?show=837#a837</guid>
<pubDate>Thu, 27 Feb 2020 16:19:54 +0000</pubDate>
</item>
<item>
<title>Answered: What are the most common data types in data science?</title>
<link>https://ask.ghassem.com/834/what-are-the-most-common-data-types-in-data-science?show=835#a835</link>
<description>&lt;p&gt;We can model object attributes&amp;nbsp;in the form of two&amp;nbsp;main forms of &lt;strong&gt;Categorical&lt;/strong&gt; and &lt;strong&gt;Numerical&lt;/strong&gt;. A more detailed explanation is available &lt;a rel=&quot;nofollow&quot; href=&quot;http://survivestatistics.com/variables/&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://i.imgur.com/JLbmW8m.jpg&quot;&gt;https://i.imgur.com/JLbmW8m.jpg&lt;/a&gt;&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/834/what-are-the-most-common-data-types-in-data-science?show=835#a835</guid>
<pubDate>Wed, 19 Feb 2020 17:33:08 +0000</pubDate>
</item>
<item>
<title>Answered: How to install Matplotlib</title>
<link>https://ask.ghassem.com/792/how-to-install-matplotlib?show=804#a804</link>
<description>The easiest way is using Anaconda which comes with it pre-installed. You can also use Google Colab.</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/792/how-to-install-matplotlib?show=804#a804</guid>
<pubDate>Sat, 08 Feb 2020 06:46:05 +0000</pubDate>
</item>
<item>
<title>Answered: ideas and opinion on what kind of analyses needs to be done</title>
<link>https://ask.ghassem.com/713/ideas-and-opinion-on-what-kind-of-analyses-needs-to-be-done?show=714#a714</link>
<description>&lt;p&gt;It is a broad question and could have many answers. You can ask many questions and try to answer them based on your main business problem: &quot;the impact of all the products that were discontinued last year on the customers and sales&quot;. For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can analyze&amp;nbsp;a hypothesis that discontinuing a specific product was a good decision or a bad decision?
&lt;ul&gt;
&lt;li&gt;You can check the sale increase in similar not-discontinued&amp;nbsp;products of the store to investigate if customers who used to buy the discontinued one still looking for it&amp;nbsp;or not. You can build the null hypothesis&amp;nbsp;and alternative hypothesis to analyze&amp;nbsp;the impact statistically.&lt;/li&gt;
&lt;li&gt;You can review customer calls/emails after discontinuing and analyzing&amp;nbsp;the sentiment of the customer for this decision. It could be done using machine learning.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You have to generate questions and try to answer them using the data you have. It totally depends on how you define &lt;em&gt;impact &lt;/em&gt;in your statement. After generating the questions, and finding answers, you can recommend some advice based on&amp;nbsp;your results. For example, if you find out discontinuing the product was a bad decision, you can recommend to continue it again.&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/713/ideas-and-opinion-on-what-kind-of-analyses-needs-to-be-done?show=714#a714</guid>
<pubDate>Thu, 01 Aug 2019 12:31:05 +0000</pubDate>
</item>
<item>
<title>Answered: What are the most important Python libraries for data science?</title>
<link>https://ask.ghassem.com/677/what-are-the-most-important-python-libraries-for-data-science?show=678#a678</link>
<description>&lt;p&gt;Based on what is offered &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.analyticsvidhya.com/blog/2019/07/dont-miss-out-24-amazing-python-libraries-data-science/&quot;&gt;here&lt;/a&gt;, The most important libraries are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python Libraries for Data Collection
&lt;ul&gt;
&lt;li&gt;Beautiful Soup&lt;/li&gt;
&lt;li&gt;Scrapy&lt;/li&gt;
&lt;li&gt;Selenium&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Python Libraries for Data Cleaning and Manipulation
&lt;ul&gt;
&lt;li&gt;Pandas&lt;/li&gt;
&lt;li&gt;PyOD&lt;/li&gt;
&lt;li&gt;NumPy&lt;/li&gt;
&lt;li&gt;Spacy&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Python Libraries for Data Visualization
&lt;ul&gt;
&lt;li&gt;Matplotlib&lt;/li&gt;
&lt;li&gt;Seaborn&lt;/li&gt;
&lt;li&gt;Bokeh&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Python Libraries for Modeling
&lt;ul&gt;
&lt;li&gt;Scikit-learn&lt;/li&gt;
&lt;li&gt;TensorFlow&lt;/li&gt;
&lt;li&gt;PyTorch&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Python Libraries for Model Interpretability
&lt;ul&gt;
&lt;li&gt;Lime&lt;/li&gt;
&lt;li&gt;H2O&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Python Libraries for Audio Processing
&lt;ul&gt;
&lt;li&gt;Librosa&lt;/li&gt;
&lt;li&gt;Madmom&lt;/li&gt;
&lt;li&gt;pyAudioAnalysis&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Python Libraries for Image Processing
&lt;ul&gt;
&lt;li&gt;OpenCV-Python&lt;/li&gt;
&lt;li&gt;Scikit-image&lt;/li&gt;
&lt;li&gt;Pillow&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Python Libraries for Database
&lt;ul&gt;
&lt;li&gt;Psycopg&lt;/li&gt;
&lt;li&gt;SQLAlchemy&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Python Libraries for Deployment
&lt;ul&gt;
&lt;li&gt;Flask&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/677/what-are-the-most-important-python-libraries-for-data-science?show=678#a678</guid>
<pubDate>Mon, 08 Jul 2019 04:43:54 +0000</pubDate>
</item>
<item>
<title>Answer selected: How to use LinkedIn Learning (formerly Lynda.com) for free?</title>
<link>https://ask.ghassem.com/24/how-to-use-linkedin-learning-formerly-lynda-com-for-free?show=74#a74</link>
<description>&lt;p&gt;If you have a university or college email address, the following photos show you how to sign in &lt;strong&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://lynda.com&quot;&gt;Lynda.com&lt;/a&gt;&lt;/strong&gt; using that account.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click on &lt;strong&gt;Sign&lt;/strong&gt; &lt;strong&gt;in&lt;/strong&gt; on the top menu to see the following page:&lt;br&gt;
&lt;br&gt;
&lt;img alt=&quot;&quot; height=&quot;481&quot; src=&quot;https://i.imgur.com/NmpOmuX.png&quot; width=&quot;600&quot;&gt;&lt;br&gt;
&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Click on&amp;nbsp;&lt;strong&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.lynda.com/signin/lynda&quot;&gt;Sign in with Lynda&lt;/a&gt;, &lt;/strong&gt;and then &lt;strong&gt;write your email address of your school or college (for example *Emails are not allowed*)&lt;br&gt;
&lt;br&gt;
&lt;img alt=&quot;&quot; height=&quot;428&quot; src=&quot;https://i.imgur.com/bDchKgb.png&quot; width=&quot;600&quot;&gt;&lt;/strong&gt;&lt;br&gt;
&amp;nbsp;&lt;/li&gt;
&lt;li&gt;It will redirect you to the portal of your organization&amp;nbsp;and after that, you can create a free account on Lynda to use all the contents for free as long as you can sign in this way.&lt;/li&gt;
&lt;li&gt;Some city&amp;nbsp;libraries&#039;&amp;nbsp;LinkedIn Learning:
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.torontopubliclibrary.ca/detail.jsp?Entt=RDMEDB0187&amp;amp;R=EDB0187&quot;&gt;City of Toronto&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.rhpl.ca/node/1862&quot;&gt;City of Richmond Hill&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;


</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/24/how-to-use-linkedin-learning-formerly-lynda-com-for-free?show=74#a74</guid>
<pubDate>Wed, 22 May 2019 06:59:13 +0000</pubDate>
</item>
<item>
<title>Answered: How to reshape in pandas dataframe?</title>
<link>https://ask.ghassem.com/608/how-to-reshape-in-pandas-dataframe?show=609#a609</link>
<description>&lt;p&gt;Did you try to use&lt;strong&gt; reshape(-1,1)&lt;/strong&gt;?&amp;nbsp;&lt;/p&gt;

&lt;pre class=&quot;prettyprint lang-python&quot; data-pbcklang=&quot;python&quot; data-pbcktabsize=&quot;4&quot;&gt;
a = np.array([[1, 2, 3, 4],
         [5, 6, 7, 8],
         [9, 10, 11, 12]])
print(a.shape)
# output: (3, 4)

print(a.reshape(-1,1))
&#039;&#039;&#039;
output:
array([[ 1],
   [ 2],
   [ 3],
   [ 4],
   [ 5],
   [ 6],
   [ 7],
   [ 8],
   [ 9],
   [10],
   [11],
   [12]])
&#039;&#039;&#039;&lt;/pre&gt;


</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/608/how-to-reshape-in-pandas-dataframe?show=609#a609</guid>
<pubDate>Sat, 06 Apr 2019 21:12:13 +0000</pubDate>
</item>
<item>
<title>Answered: Is digital marketing and marketing internships worth it for a data science student?</title>
<link>https://ask.ghassem.com/606/digital-marketing-marketing-internships-science-student?show=607#a607</link>
<description>Depending on what you want to do, and what kind of methodologies you use for analyzing and reporting, an internship in this area could be considered as data science experience.</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/606/digital-marketing-marketing-internships-science-student?show=607#a607</guid>
<pubDate>Fri, 05 Apr 2019 00:38:05 +0000</pubDate>
</item>
<item>
<title>Answered: 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?show=586#a586</link>
<description>&lt;p&gt;If you want an executable application that opens Jupyter notebooks for viewing, printing and executing, &lt;strong&gt;nterac&lt;/strong&gt;&amp;nbsp;(&lt;a rel=&quot;nofollow&quot; href=&quot;https://nteract.io/desktop&quot;&gt;https://nteract.io/desktop&lt;/a&gt;) is here to serve you. On the other hand, it means we can open Jupyter notebooks as standalone executables, instead of running inside the browser.&lt;/p&gt;

&lt;p&gt;However,&amp;nbsp;If you just need preview and do not need to execute, and you have a Mac, use this: &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/tuxu/nbviewer-app&quot; target=&quot;_blank&quot;&gt;https://github.com/tuxu/nbviewer-app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://cloud.githubusercontent.com/assets/836375/18421299/d95ad398-783b-11e6-8b23-d54cf7caad1e.png&quot;&gt;https://cloud.githubusercontent.com/assets/836375/18421299/d95ad398-783b-11e6-8b23-d54cf7caad1e.png&lt;/a&gt;&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/585/how-open-jupyter-notebook-files-windows-mac-without-browser?show=586#a586</guid>
<pubDate>Sat, 16 Mar 2019 23:38:07 +0000</pubDate>
</item>
<item>
<title>Passing variable length sentences to Tensorflow LSTM</title>
<link>https://ask.ghassem.com/561/passing-variable-length-sentences-to-tensorflow-lstm</link>
<description>&lt;p&gt;I have a tensorflow LSTM model for predicting the sentiment. I build the model with the maximum sequence length 150. (Maximum number of words) While making predictions, i have written the code as below:&lt;/p&gt;

&lt;pre class=&quot;prettyprint lang-python&quot; data-pbcklang=&quot;python&quot; data-pbcktabsize=&quot;4&quot;&gt;
batchSize = 32
maxSeqLength = 150

def getSentenceMatrix(sentence):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;arr = np.zeros([batchSize, maxSeqLength])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sentenceMatrix = np.zeros([batchSize,maxSeqLength], dtype=&#039;int32&#039;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cleanedSentence = cleanSentences(sentence)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cleanedSentence = &#039; &#039;.join(cleanedSentence.split()[:150])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;split = cleanedSentence.split()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for indexCounter,word in enumerate(split):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sentenceMatrix[0,indexCounter] = wordsList.index(word)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;except ValueError:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sentenceMatrix[0,indexCounter] = 399999 #Vector for unkown words
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return sentenceMatrix

input_text = &quot;example data&quot;
inputMatrix = getSentenceMatrix(input_text)&lt;/pre&gt;

&lt;p&gt;&lt;br&gt;
&lt;br&gt;
In the code i&#039;m truncating my input text to 150 words and ignoring remaining data.Due to this my predictions are wrong.&lt;/p&gt;

&lt;pre class=&quot;prettyprint lang-python&quot; data-pbcklang=&quot;python&quot; data-pbcktabsize=&quot;4&quot;&gt;
cleanedSentence = &#039; &#039;.join(cleanedSentence.split()[:150]) &lt;/pre&gt;

&lt;p&gt;&lt;br&gt;
I know that if we have lesser length than sequence length we can pad with zero&#039;s. What we need to do if we have more length. Can you suggest me the best way to do this. Thanks in advance.&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/561/passing-variable-length-sentences-to-tensorflow-lstm</guid>
<pubDate>Mon, 11 Feb 2019 05:06:27 +0000</pubDate>
</item>
<item>
<title>Retagged: What are the general steps in data cleaning?</title>
<link>https://ask.ghassem.com/427/what-are-the-general-steps-in-data-cleaning?show=427#q427</link>
<description></description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/427/what-are-the-general-steps-in-data-cleaning?show=427#q427</guid>
<pubDate>Wed, 31 Oct 2018 17:41:42 +0000</pubDate>
</item>
<item>
<title>Answered: How do you copy  a list without updating the original list?</title>
<link>https://ask.ghassem.com/481/how-do-you-copy-a-list-without-updating-the-original-list?show=482#a482</link>
<description>&lt;p&gt;The best way is to how b is copied below. As we can see, a is impacted by any changes we make on c but not b,&amp;nbsp;&lt;/p&gt;

&lt;p&gt;a = [1,2,3]&lt;br&gt;
b=a[:]&lt;br&gt;
c=a&lt;/p&gt;

&lt;p&gt;b.append(99)&lt;br&gt;
c.append(4)&lt;br&gt;
print (&quot;a=&quot;,a,&quot;b=&quot;,b,&quot;c=&quot;,c)&lt;/p&gt;

&lt;p&gt;outputs&amp;nbsp;&lt;/p&gt;

&lt;pre&gt;
a= [1, 2, 3, 4] b= [1, 2, 3, 99] c= [1, 2, 3, 4]
&lt;/pre&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/481/how-do-you-copy-a-list-without-updating-the-original-list?show=482#a482</guid>
<pubDate>Tue, 30 Oct 2018 11:17:02 +0000</pubDate>
</item>
<item>
<title>Answered: How should I reduce file size of a word document when I attach high resolution pictures?</title>
<link>https://ask.ghassem.com/338/should-reduce-file-size-document-attach-resolution-pictures?show=339#a339</link>
<description>&lt;p&gt;Please take a look at the following short video that shows you the procedure:&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=QDojovVa5No&amp;amp;feature=youtu.be&quot;&gt;https://www.youtube.com/watch?v=QDojovVa5No&amp;amp;feature=youtu.be&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/338/should-reduce-file-size-document-attach-resolution-pictures?show=339#a339</guid>
<pubDate>Fri, 12 Oct 2018 06:37:43 +0000</pubDate>
</item>
<item>
<title>How to use Ask Data Science! ?</title>
<link>https://ask.ghassem.com/256/how-to-use-ask-data-science</link>
<description>This post is for providing the best practices for using Ask Data Science!</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/256/how-to-use-ask-data-science</guid>
<pubDate>Wed, 03 Oct 2018 07:01:30 +0000</pubDate>
</item>
<item>
<title>Answered: How to upload images on Ask Data Science! website?</title>
<link>https://ask.ghassem.com/26/how-to-upload-images-on-ask-data-science-website?show=27#a27</link>
<description>&lt;p&gt;Please create an account on &lt;a rel=&quot;nofollow&quot; href=&quot;https://imgur.com&quot;&gt;https://imgur.com&lt;/a&gt;, and upload your images there, then attach the &lt;strong&gt;direct URL&lt;/strong&gt;&amp;nbsp;of your image to your post. Creating the account on imgur.com is optional, but I highly recommend it because it will let you upload images with better qualities if you are a registered member.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=_VBCPt-wJ2w&quot;&gt;This video&lt;/a&gt; helps you learn how to find the Direct Link to the image after uploading.&lt;/p&gt;</description>
<category>General</category>
<guid isPermaLink="true">https://ask.ghassem.com/26/how-to-upload-images-on-ask-data-science-website?show=27#a27</guid>
<pubDate>Sun, 16 Sep 2018 21:05:47 +0000</pubDate>
</item>
</channel>
</rss>