<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Ask Ghassem - Recent questions tagged probability</title>
<link>https://ask.ghassem.com/tag/probability</link>
<description>Powered by Question2Answer</description>
<item>
<title>Which algorithm is best to detect anomalies within a data set of 5k+ user-login events?</title>
<link>https://ask.ghassem.com/1000/which-algorithm-best-detect-anomalies-within-login-events</link>
<description>I am trying to build an unsupervised ML model to detect anomalies within 5000+ users&amp;#039; login data. &amp;nbsp;I selected 5 features contained within each of the user-login events (e.g. IP, hour of day, day of week, device_id, OS). &amp;nbsp;I am looking for the best algorithm to use. &amp;nbsp;I am considering using density function to determine probabilities of the feature values and whether an event is an outlier. &amp;nbsp;The problem is that feature values are only relevant to the specific user. &amp;nbsp;For example, you cannot compare login IP across users, login IP is only applicable to the user. &lt;br /&gt;
Ultimately, I want to detect events that are changes in a user login behavior, like different IP, day, hour, device_id, or OS, where the more features that have changed increase the probability of an outlier. &lt;br /&gt;
At this point, I am not sure how to build a model with data that contains multiple users, because I don&amp;#039;t know how to separate the user data so the model is trained per user and finding anomalies within the individual user&amp;#039;s features.&lt;br /&gt;
&lt;br /&gt;
I also don&amp;#039;t have any labeled data to use for testing, should I fabricate some?&lt;br /&gt;
&lt;br /&gt;
Any advice greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
Thank you!</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/1000/which-algorithm-best-detect-anomalies-within-login-events</guid>
<pubDate>Tue, 05 Oct 2021 17:45:38 +0000</pubDate>
</item>
<item>
<title>Probability of a bus arrived in its destination based on weather condition</title>
<link>https://ask.ghassem.com/953/probability-arrived-destination-based-weather-condition</link>
<description>A bus is making its way to a destination. If the weather conditions are favorable today, the likelihood of delay is 3%. If the weather conditions are not favorable today, the likelihood of delay is 50%. The forecast predicts that it is 20% likely that the weather conditions will be favorable today.&lt;br /&gt;
&lt;br /&gt;
1. What is the likelihood that the bus will be delayed?&lt;br /&gt;
&lt;br /&gt;
2. The bus has arrived, but it was delayed. Given that the bus was delayed, what is the likelihood that the weather conditions were favorable?</description>
<category>Discrete Mathematics</category>
<guid isPermaLink="true">https://ask.ghassem.com/953/probability-arrived-destination-based-weather-condition</guid>
<pubDate>Mon, 09 Nov 2020 13:06:47 +0000</pubDate>
</item>
<item>
<title>How to calculate the probability and accuracy of a Logistic Regression classifier?</title>
<link>https://ask.ghassem.com/795/calculate-probability-accuracy-logistic-regression-classifier</link>
<description>&lt;p&gt;How to solve this problem?&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://i.imgur.com/8urywpf.jpg&quot;&gt;https://i.imgur.com/8urywpf.jpg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Q1) Complete the ? sections&lt;/p&gt;

&lt;p&gt;Q2) Accuracy of system if threshold = 0.5?&lt;/p&gt;

&lt;p&gt;Q3)&amp;nbsp;Accuracy of system if threshold = 0.95?&lt;/p&gt;</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/795/calculate-probability-accuracy-logistic-regression-classifier</guid>
<pubDate>Mon, 03 Feb 2020 20:31:49 +0000</pubDate>
</item>
<item>
<title>How to calculate probability in Logistic Regression?</title>
<link>https://ask.ghassem.com/587/how-to-calculate-probability-in-logistic-regression</link>
<description>&lt;p&gt;The dataset of pass/fail in an exam for 5 students is given in the table below. If we use&amp;nbsp;&lt;strong&gt;Logistic Regression&lt;/strong&gt;&amp;nbsp;as the classifier and assume the model suggested by the optimizer will become the following for Odds of passing a course:&lt;/p&gt;

&lt;p&gt;$\log (Odds) = -64 + 2 \times hours$&lt;/p&gt;

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

&lt;p&gt;1) How to calculate the&amp;nbsp;&lt;strong&gt;probability of Pass&lt;/strong&gt;&amp;nbsp;for the student who studied 33 hours?&amp;nbsp;&lt;/p&gt;

&lt;p&gt;2) &lt;strong&gt;At least how many hours &lt;/strong&gt;the student should study that makes sure will pass the course with the probability of more than 95%?&lt;/p&gt;</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/587/how-to-calculate-probability-in-logistic-regression</guid>
<pubDate>Mon, 18 Mar 2019 20:22:35 +0000</pubDate>
</item>
<item>
<title>Probability for the data items within mean +- 1, +-2, +-3 standard deviation?</title>
<link>https://ask.ghassem.com/529/probability-for-data-items-within-mean-standard-deviation</link>
<description></description>
<category>Statistics</category>
<guid isPermaLink="true">https://ask.ghassem.com/529/probability-for-data-items-within-mean-standard-deviation</guid>
<pubDate>Fri, 30 Nov 2018 21:15:35 +0000</pubDate>
</item>
<item>
<title>What will be probability for the data items within mean +- 1, +-2, +-3 standard deviation?</title>
<link>https://ask.ghassem.com/520/what-will-probability-data-items-within-standard-deviation</link>
<description></description>
<category>general</category>
<guid isPermaLink="true">https://ask.ghassem.com/520/what-will-probability-data-items-within-standard-deviation</guid>
<pubDate>Wed, 14 Nov 2018 15:10:15 +0000</pubDate>
</item>
<item>
<title>How do we determine if two events are independent</title>
<link>https://ask.ghassem.com/374/how-do-we-determine-if-two-events-are-independent</link>
<description></description>
<category>Statistics</category>
<guid isPermaLink="true">https://ask.ghassem.com/374/how-do-we-determine-if-two-events-are-independent</guid>
<pubDate>Sat, 13 Oct 2018 15:23:39 +0000</pubDate>
</item>
<item>
<title>In the context of probability, what is the &quot;event space&quot;</title>
<link>https://ask.ghassem.com/372/in-the-context-of-probability-what-is-the-event-space</link>
<description></description>
<category>Statistics</category>
<guid isPermaLink="true">https://ask.ghassem.com/372/in-the-context-of-probability-what-is-the-event-space</guid>
<pubDate>Sat, 13 Oct 2018 15:10:28 +0000</pubDate>
</item>
<item>
<title>If x is the number that comes up when you roll a 20 sided die. What is the expected value of x?</title>
<link>https://ask.ghassem.com/360/the-number-that-comes-when-you-roll-sided-what-expected-value</link>
<description>If x is the number that comes up when you roll a 20 sided die. What is the expected value of x?</description>
<category>general</category>
<guid isPermaLink="true">https://ask.ghassem.com/360/the-number-that-comes-when-you-roll-sided-what-expected-value</guid>
<pubDate>Fri, 12 Oct 2018 22:43:05 +0000</pubDate>
</item>
<item>
<title>What is the probability of getting a King of Hearts?</title>
<link>https://ask.ghassem.com/359/what-is-the-probability-of-getting-a-king-of-hearts</link>
<description>What is the probability of picking a King of Hearts in a standard 52 card deck?</description>
<category>general</category>
<guid isPermaLink="true">https://ask.ghassem.com/359/what-is-the-probability-of-getting-a-king-of-hearts</guid>
<pubDate>Fri, 12 Oct 2018 22:31:45 +0000</pubDate>
</item>
<item>
<title>Two coins are flipped.  What is the probability of getting heads twice?</title>
<link>https://ask.ghassem.com/318/two-coins-are-flipped-what-probability-getting-heads-twice</link>
<description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;ul&gt;
&lt;/ul&gt;</description>
<category>Statistics</category>
<guid isPermaLink="true">https://ask.ghassem.com/318/two-coins-are-flipped-what-probability-getting-heads-twice</guid>
<pubDate>Thu, 11 Oct 2018 23:49:03 +0000</pubDate>
</item>
<item>
<title>A standard deck of 52 cards is shuffled and a single card is drawn. What is the probability that this card is a Joker</title>
<link>https://ask.ghassem.com/238/standard-deck-cards-shuffled-single-drawn-probability-joker</link>
<description>&lt;p&gt;This is question 1d in the 2B&amp;nbsp;exercises. The answer&amp;nbsp;says the probability is 0 but I count 4 jokers in a 52 card deck, which means the probability is 1/13. Think I misunderstand the question. Why is it 0?&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; height=&quot;378&quot; src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Piatnikcards.jpg/800px-Piatnikcards.jpg&quot; width=&quot;800&quot;&gt;&lt;/p&gt;</description>
<category>general</category>
<guid isPermaLink="true">https://ask.ghassem.com/238/standard-deck-cards-shuffled-single-drawn-probability-joker</guid>
<pubDate>Mon, 01 Oct 2018 19:51:38 +0000</pubDate>
</item>
</channel>
</rss>