Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 58743

Machine Learning is a subfield of computer science that draws on elements from algorithmic analysis, computational statistics, mathematics, optimization, etc. It is mainly concerned with the use of data to construct models that have high predictive/forecasting ability. Topics include modeling building, applications, theory, etc.

0 votes
2 answers
367 views

Decision Tree split error

During the split function of the decision tree, I am getting an assertion error stating: Error > Assert: type(C) == dict I couldn't find any errors in the code up until now. Could you please correc …
VishwaV's user avatar
  • 379
3 votes
2 answers
12k views

Conditional entropy calculation in python, H(Y|X)

Input X: A numpy array whose size gives the number of instances. X contains each instance's attribute value. Y: A numpy array which contains each instance's corresponding target label. Output : Con …
VishwaV's user avatar
  • 379
1 vote
0 answers
45 views

Weighted Entropy (or) Conditional Entropy calculation error

I'm getting an assertion error for the test case: Y = np.array([0.,1.,0.,1.]), X = np.array([1.,1.,4.,4.]) The code executes when assert np.allclose(ce,0.,atol =1e-3)and doesn't pass when assert np.a …
VishwaV's user avatar
  • 379