photo

Kunal Roy


Aktiv seit 2016

Followers: 0   Following: 0

Statistik

MATLAB Answers

14 Fragen
0 Antworten

RANG
38.617
of 300.840

REPUTATION
1

BEITRÄGE
14 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
35.71%

ERHALTENE STIMMEN
1

RANG
 of 21.092

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 171.210

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


I execute the following program and none of the variables in the decision tree function and below show up in the workspace? Am I doing something wrong with how I'm defining and using the functions?
load iris.dat %discretizeData discretizedData = zeros(150,5); for i = 1:size(iris,2) currentColumn = i...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Can someone explain the error? Function with duplicate name dtree cannot be defined
load iris.dat %discretizeData discretizedData = zeros(150,5); for i = 1:size(iris,2) currentColumn = i...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

1

Antwort

Frage


I am new to programming. I need to build a decision tree to classify setosa (class =1 ) against combined virginca and versicolor (class = 2) in matlab
I have tried for days to come up with code. I just can't wrap my head around how I should build a tree and trace back to various...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want to create a function best_attribute = findbestattribute(x1,x2,x3,x4) and I want x1, x2, x3 and x4 to be whole columns. How can I do this?
%This is what I have in mind load iris.dat function best_attribute(iris(:,1),iris(:,2),iris(:,3),iris(:,4)) %note t...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to discretize?
Suppose I had 51,42,43,56,76,54,34,56,78,80 in a column how would I use discretize function to put the numbers between 50-59 in...

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


tree = fitctree(meas,species(50,:)) not working
I want to classify only setosa. Also, how do I determine the best categorical predictor for the split using the best_split_Att...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how do I get the names of the attributes?
load iris.dat iris(1,1) gives me the first value of the first column how do I access the name of the attribute?

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I create an dynamically increasing array to store positions?
load iris.dat for i:size(iris,2)-1 if (iris(:,i)==iris(1,1) %store the row number in a dynamically increas...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


I want to construct three tests.
If I have four columns, x1, x2, x3 and x4 I want to create the following three tests for the first values of all the four colum...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


What is the best matlab data structure to represent a decision tree?
I want to be able to access the level of the tree and the number of nodes and the information of the nodes after a split. What i...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to find count of an item in a column of data in matlab?
I need to find probabilities of each class for the implementation of a decision tree, in other words, the calculation of entropy...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I do a 50-50 split on data to obtain train and test datasets such that no value is common to both sets?
I am new to matlab and I can't find a function to do this.

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort