Transform a multiclass dataset into a multi-label oneFisher's Iris data set with CaffeActivation method and...

Equivalent of "illegal" for violating civil law

Why is it that Bernie Sanders is always called a "socialist"?

How to not let the Identify spell spoil everything?

Does the ditching switch allow an A320 to float indefinitely?

Is there any advantage in specifying './' in a for loop using a glob?

The No-Straight Maze

Switch case implementation in Java for an integer pair combination

Website seeing my Facebook data?

Does the US government have any planning in place to ensure there's no shortages of food, fuel, steel and other commodities?

How to politely refuse in-office gym instructor for steroids and protein

Closed set in topological space generated by sets of the form [a, b).

Can a player sacrifice a creature after declaring that creature as blocker while taking lethal damage?

Why do neural networks need so many examples to perform?

Count repetitions of an array

Not a Long-Winded Riddle

Need help with a circuit diagram where the motor does not seem to have any connection to ground. Error with diagram? Or am i missing something?

What makes papers publishable in top-tier journals?

Why did Mr. Elliot have to decide whose boots were thickest in "Persuasion"?

Is there a file that always exists and a 'normal' user can't lstat it?

Crack the bank account's password!

Eww, those bytes are gross

hrule into tikz circle node

How much light is too much?

Prevent Nautilus / Nemo from creating .Trash-1000 folder in mounted devices



Transform a multiclass dataset into a multi-label one


Fisher's Iris data set with CaffeActivation method and Loss function for multilabel multiclass classificationHow can I perform multi-label classification if many labels are missing?Multi-task learning for Multi-label classification?Large Numpy.Array for Multi-label Image Classification (CelebA Dataset)Dealing with long sequence labelingHow does binary cross entropy work?Merge one label with one information for classification problem or multi-label classificationUnbalanced multi-label multi-class classificationTransform single-label data set into multi-label data set













0












$begingroup$


I have a dataset of feature/label pairs. My labels are probabilities of each feature vector to belong to the K classes. Here is an example for K = 3:



D1 = { (V0, [0.33,0.33,0.33]), (V1, [0.9,0.07,0.03]), (V2, [0.5,0.25,0.25])... }



The probabilities are normalized for a given data point. Yet the task is more a multilabel one, and it would make more sense to have independent Bernoulli distributions e.g.



D2 = { (V0, [0.9,0.9,0.9]), (V1, [0.99,0.0,0.0]), (V2, [0.9,0.2,0.5])... }



Is there a trick (smart heuristic) out there which would allow me to transform D1 into D2 based on the way the probability weights are distributed in D1?










share|improve this question









$endgroup$












  • $begingroup$
    Can you be more specific? How did you exactly got from (V0, [0.33,0.33,0.33]) to (V0, [0.9,0.9,0.9]) or from (V0, [0.9,0.9,0.9]) to (V1, [0.99,0.0,0.0])?
    $endgroup$
    – Antonio Jurić
    8 hours ago
















0












$begingroup$


I have a dataset of feature/label pairs. My labels are probabilities of each feature vector to belong to the K classes. Here is an example for K = 3:



D1 = { (V0, [0.33,0.33,0.33]), (V1, [0.9,0.07,0.03]), (V2, [0.5,0.25,0.25])... }



The probabilities are normalized for a given data point. Yet the task is more a multilabel one, and it would make more sense to have independent Bernoulli distributions e.g.



D2 = { (V0, [0.9,0.9,0.9]), (V1, [0.99,0.0,0.0]), (V2, [0.9,0.2,0.5])... }



Is there a trick (smart heuristic) out there which would allow me to transform D1 into D2 based on the way the probability weights are distributed in D1?










share|improve this question









$endgroup$












  • $begingroup$
    Can you be more specific? How did you exactly got from (V0, [0.33,0.33,0.33]) to (V0, [0.9,0.9,0.9]) or from (V0, [0.9,0.9,0.9]) to (V1, [0.99,0.0,0.0])?
    $endgroup$
    – Antonio Jurić
    8 hours ago














0












0








0





$begingroup$


I have a dataset of feature/label pairs. My labels are probabilities of each feature vector to belong to the K classes. Here is an example for K = 3:



D1 = { (V0, [0.33,0.33,0.33]), (V1, [0.9,0.07,0.03]), (V2, [0.5,0.25,0.25])... }



The probabilities are normalized for a given data point. Yet the task is more a multilabel one, and it would make more sense to have independent Bernoulli distributions e.g.



D2 = { (V0, [0.9,0.9,0.9]), (V1, [0.99,0.0,0.0]), (V2, [0.9,0.2,0.5])... }



Is there a trick (smart heuristic) out there which would allow me to transform D1 into D2 based on the way the probability weights are distributed in D1?










share|improve this question









$endgroup$




I have a dataset of feature/label pairs. My labels are probabilities of each feature vector to belong to the K classes. Here is an example for K = 3:



D1 = { (V0, [0.33,0.33,0.33]), (V1, [0.9,0.07,0.03]), (V2, [0.5,0.25,0.25])... }



The probabilities are normalized for a given data point. Yet the task is more a multilabel one, and it would make more sense to have independent Bernoulli distributions e.g.



D2 = { (V0, [0.9,0.9,0.9]), (V1, [0.99,0.0,0.0]), (V2, [0.9,0.2,0.5])... }



Is there a trick (smart heuristic) out there which would allow me to transform D1 into D2 based on the way the probability weights are distributed in D1?







machine-learning multiclass-classification multilabel-classification labels






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 10 hours ago









user3091275user3091275

1285




1285












  • $begingroup$
    Can you be more specific? How did you exactly got from (V0, [0.33,0.33,0.33]) to (V0, [0.9,0.9,0.9]) or from (V0, [0.9,0.9,0.9]) to (V1, [0.99,0.0,0.0])?
    $endgroup$
    – Antonio Jurić
    8 hours ago


















  • $begingroup$
    Can you be more specific? How did you exactly got from (V0, [0.33,0.33,0.33]) to (V0, [0.9,0.9,0.9]) or from (V0, [0.9,0.9,0.9]) to (V1, [0.99,0.0,0.0])?
    $endgroup$
    – Antonio Jurić
    8 hours ago
















$begingroup$
Can you be more specific? How did you exactly got from (V0, [0.33,0.33,0.33]) to (V0, [0.9,0.9,0.9]) or from (V0, [0.9,0.9,0.9]) to (V1, [0.99,0.0,0.0])?
$endgroup$
– Antonio Jurić
8 hours ago




$begingroup$
Can you be more specific? How did you exactly got from (V0, [0.33,0.33,0.33]) to (V0, [0.9,0.9,0.9]) or from (V0, [0.9,0.9,0.9]) to (V1, [0.99,0.0,0.0])?
$endgroup$
– Antonio Jurić
8 hours ago










0






active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "557"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f46188%2ftransform-a-multiclass-dataset-into-a-multi-label-one%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Data Science Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f46188%2ftransform-a-multiclass-dataset-into-a-multi-label-one%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

How do i solve the “ No module named 'mlxtend' ” issue on Jupyter?

Pilgersdorf Inhaltsverzeichnis Geografie | Geschichte | Bevölkerungsentwicklung | Politik | Kultur...