# C2\_W4\_Assignment week4

**URL:** <https://community.deeplearning.ai/t/c2-w4-assignment-week4/525643>\
**Category:** NLP with Probabilistic Models\
**Created:** [December 23, 2023, 3:56pm UTC](https://community.deeplearning.ai/t/c2-w4-assignment-week4/525643 "2023-12-23T15:56:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alaa\_Player](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@Alaa\_Player](https://community.deeplearning.ai/u/Alaa_Player)\
**Post date:** [December 23, 2023, 3:56pm UTC](https://community.deeplearning.ai/t/c2-w4-assignment-week4/525643/1 "2023-12-23T15:56:09Z")

</div>

When creating a post, please add:

- Week 4 #week-4
- Link to the classroom item you are referring to:[Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera](https://www.coursera.org/learn/probabilistic-models-in-nlp/programming/OrMrl/word-embeddings/lab?path=%2Fnotebooks%2FC2_W4_Assignment.ipynb)  
lab id:kgxhxkkvjxge  
 ![لقطة شاشة 2023-12-23 120438](https://global.discourse-cdn.com/dlai/original/3X/a/e/ae0a2e4e1326b73b0d91192f27d2fbc81bd01150.png)  
In a paragraph 2.4 - Cost Function The result is not equal to the correct output due to the data, which leads to an error in all the remaining solutions. As a reminder, this paragraph is outside the solution

---

<div class="post-metadata">

**Author:** ![Deepti\_Prasad](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/deepti_prasad/32/165831_2.png) [@Deepti\_Prasad](https://community.deeplearning.ai/u/Deepti_Prasad)\
**Post date:** [December 24, 2023, 9:34am UTC](https://community.deeplearning.ai/t/c2-w4-assignment-week4/525643/2 "2023-12-24T09:34:05Z")

</div>

I had same issue, but I came across a statement in the same assignment which tells there can be variation in the cost value depending on python version.

“Your numbers may differ a bit depending on which version of Python you’re using”

So probably there is nothing to worry about it. But surely even I want to know if this is related to something other than what mentioned in this statement.

Regards  
DP
