Skip to content

Added Two New Questions(Probability + ML) - #540

Open
Jeet009 wants to merge 6 commits into
Open-Deep-ML:mainfrom
Jeet009:jeetm/newq
Open

Jeet009 wants to merge 6 commits into
Open-Deep-ML:mainfrom
Jeet009:jeetm/newq

Conversation

@Jeet009

@Jeet009 Jeet009 commented Sep 15, 2025

Copy link
Copy Markdown
Contributor

Hi, @moe18. Please take a look at these two questions. Previously, it was not added; it might be an issue from my end.

@Open-Deep-ML Open-Deep-ML left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good had one small comment, also could you change the numbers to 184 and 185


## Example
Observed sequence: `1, 2, 2, 3, 3, 3` (6 outcomes total)
- “1” appears once → estimated probability = 1/6

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use regular " the ones you used dont render properly on the site
image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I have changed the file names. Please take a look.

@Jeet009 Jeet009 Sep 15, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use regular " the ones you used dont render properly on the site image

I have fixed this issue, but the problem is, it is difficult to understand what the portal is expecting. I'm following standard markdown format. I see multiple problems in the images you shared.

@Open-Deep-ML Open-Deep-ML left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks really good< I have deployed question 184, the learn section for 185 needs some improvement

@@ -0,0 +1,16 @@
## Solution Explanation

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you be able to expand more on this learn section first teach the user the formula and the ideas behind it and then show an example like you have done

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Open-Deep-ML, I have updated the changes. In the learn section, I have added the formula explicitly, which might lead the user directly to the solution. In case you want to remove that, please go ahead. The formula section looks like this - Quadratic formula reminder:
For aK² + bK + c = 0, the solutions are K = [−b ± √(b² − 4ac)] / (2a).

@@ -0,0 +1,15 @@
{
"id": "182",

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure to change this number as well

@@ -0,0 +1,15 @@
{
"id": "183",

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure to change this also

"dislikes": "0",
"contributor": [
{
"profile_link": "https://github.com/jeetmukherjee",

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also just want to make sure this is the correct profile, because it is different than the one you submitted the question from

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about this, I attached an old account ID. I will change this. Also, improve the learn section. I understand it needs more clarity. Thank you. And I will be more alert while making PR next time.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is my actual profile link - https://github.com/Jeet009

@Jeet009

Jeet009 commented Sep 15, 2025 •

Copy link
Copy Markdown
Contributor Author

@Open-Deep-ML, please take a look at the updated version. This should be okay. If you like this approach, I will continue to keep the format like this. Please use the most recent commit. Thank you.

@@ -0,0 +1,41 @@
## Learning: PMF normalization constant

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here are the rules for the learn section and how to create formulas, also currently we do not render charts on the site

Writing Mathematical Expressions with LaTeX

This editor supports LaTeX for rendering mathematical equations and expressions. Here's how you can use it:

  1. Inline Math:

    • Wrap your expression with single $ symbols.
    • Example: $E = mc^2$ → Renders as: ( $E = mc^2$ )
  2. Block Math:

    • Wrap your expression with double $$ symbols.
    • Example:
      $$
      \int_a^b f(x) \, dx
      $$
      
      Renders as:
      $$
      \int_a^b f(x) , dx
      $$
  3. Math Functions:

    • Use standard LaTeX functions like \frac, \sqrt, \sum, etc.
    • Examples:
      • $\frac{a}{b}$ → ( $\frac{a}{b}$ )
      • $\sqrt{x}$ → ( $\sqrt{x}$ )
  4. Greek Letters and Symbols:

    • Use commands like \alpha, \beta, etc., for Greek letters.
    • Example: $\alpha + \beta = \gamma$ → ( $\alpha + \beta = \gamma$ )
  5. Subscripts and Superscripts:

    • Use _{} for subscripts and ^{} for superscripts.
    • Examples:
      • $x_i$ → ( $x_i$ )
      • $x^2$ → ( $x^2$ )
  6. Combined Examples:

    • $\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}$
      Renders as:
      $\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}$

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Open-Deep-ML, thanks for this. I have updated the notations in LaTeX format. Please take a look and let me know if this is fine now.

@Jeet009 Jeet009 changed the title Added Two New Questions(Probability) Added Two New Questions(Probability + ML) Sep 16, 2025
@Jeet009

Jeet009 commented Sep 16, 2025

Copy link
Copy Markdown
Contributor Author

@Open-Deep-ML, Hi, I have added another question on ML. I noticed that Deep-ML doesn't have a Linear Regression problem using OLS, which is a closed-form solution that we all use when we start ML. This is the most beginner-friendly implementation. Please take a look.

@moe18

moe18 commented Sep 21, 2025

Copy link
Copy Markdown
Collaborator

I think this question is very similar https://www.deep-ml.com/problems/14

@Jeet009

Jeet009 commented Sep 21, 2025

Copy link
Copy Markdown
Contributor Author

I think this question is very similar https://www.deep-ml.com/problems/14
Hi @moe18, yes, it is similar, but as a beginner, it is a bit difficult to differentiate between these two problems. Most of the time, we start solving Linear Regression by calculating the value of m by computing (x-x')(y-y')/(x-x')^2. So I thought it might be helpful. However, I understand if you don't want to add both very similar problems.

@Jeet009

Jeet009 commented Sep 21, 2025

Copy link
Copy Markdown
Contributor Author

Hi @moe18, can you also please update if the other problems(pmf normalisation constant) seem fine to you?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants