Are all classifiers linear in some high dimensional space?












3












$begingroup$


Of all possible classifiers (including SVMs, locally weighted regression, softmax regression, lots others I'm sure I don't know about, etc.), are they all linear in some high dimensional space?



E.g. An SVM with a Gaussian kernel is linear in infinite-dimensional space.










share|improve this question









$endgroup$








  • 1




    $begingroup$
    The question really is linear with respect to what? logistic regression is "non-linear", but it is linear in parameters. Polynomial terms are non-linear, but linear in parameters. Neural networks aren't linear in parameters, but could be in terms of variables (potentially). You should think about what you mean by "linear" and try to figure out whether all classifiers would meet that definition of linear.
    $endgroup$
    – Ryan
    Apr 10 '18 at 20:55










  • $begingroup$
    this has also been discussed on stats.se: stats.stackexchange.com/questions/215696
    $endgroup$
    – jld
    Apr 11 '18 at 15:08










  • $begingroup$
    @Chaconne thank you for your comment. That post you linked was very informative.
    $endgroup$
    – sidrane
    Apr 15 '18 at 17:27










  • $begingroup$
    @Ryan what I mean by linear, is if we can project into any higher-dimensional feature space (using a potentially nonlinear mapping), can we draw a single separating hyperplane between the classes of data? And the answer linked by Chaconne indicates that generally, yes you can. The exception is in classifiers that combine multiple "smaller" or "weaker" classifiers together, e.g. K-means, decision trees, boosting, and others like it.
    $endgroup$
    – sidrane
    Apr 15 '18 at 17:31
















3












$begingroup$


Of all possible classifiers (including SVMs, locally weighted regression, softmax regression, lots others I'm sure I don't know about, etc.), are they all linear in some high dimensional space?



E.g. An SVM with a Gaussian kernel is linear in infinite-dimensional space.










share|improve this question









$endgroup$








  • 1




    $begingroup$
    The question really is linear with respect to what? logistic regression is "non-linear", but it is linear in parameters. Polynomial terms are non-linear, but linear in parameters. Neural networks aren't linear in parameters, but could be in terms of variables (potentially). You should think about what you mean by "linear" and try to figure out whether all classifiers would meet that definition of linear.
    $endgroup$
    – Ryan
    Apr 10 '18 at 20:55










  • $begingroup$
    this has also been discussed on stats.se: stats.stackexchange.com/questions/215696
    $endgroup$
    – jld
    Apr 11 '18 at 15:08










  • $begingroup$
    @Chaconne thank you for your comment. That post you linked was very informative.
    $endgroup$
    – sidrane
    Apr 15 '18 at 17:27










  • $begingroup$
    @Ryan what I mean by linear, is if we can project into any higher-dimensional feature space (using a potentially nonlinear mapping), can we draw a single separating hyperplane between the classes of data? And the answer linked by Chaconne indicates that generally, yes you can. The exception is in classifiers that combine multiple "smaller" or "weaker" classifiers together, e.g. K-means, decision trees, boosting, and others like it.
    $endgroup$
    – sidrane
    Apr 15 '18 at 17:31














3












3








3


0



$begingroup$


Of all possible classifiers (including SVMs, locally weighted regression, softmax regression, lots others I'm sure I don't know about, etc.), are they all linear in some high dimensional space?



E.g. An SVM with a Gaussian kernel is linear in infinite-dimensional space.










share|improve this question









$endgroup$




Of all possible classifiers (including SVMs, locally weighted regression, softmax regression, lots others I'm sure I don't know about, etc.), are they all linear in some high dimensional space?



E.g. An SVM with a Gaussian kernel is linear in infinite-dimensional space.







classification theory






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 10 '18 at 18:00









sidranesidrane

161




161








  • 1




    $begingroup$
    The question really is linear with respect to what? logistic regression is "non-linear", but it is linear in parameters. Polynomial terms are non-linear, but linear in parameters. Neural networks aren't linear in parameters, but could be in terms of variables (potentially). You should think about what you mean by "linear" and try to figure out whether all classifiers would meet that definition of linear.
    $endgroup$
    – Ryan
    Apr 10 '18 at 20:55










  • $begingroup$
    this has also been discussed on stats.se: stats.stackexchange.com/questions/215696
    $endgroup$
    – jld
    Apr 11 '18 at 15:08










  • $begingroup$
    @Chaconne thank you for your comment. That post you linked was very informative.
    $endgroup$
    – sidrane
    Apr 15 '18 at 17:27










  • $begingroup$
    @Ryan what I mean by linear, is if we can project into any higher-dimensional feature space (using a potentially nonlinear mapping), can we draw a single separating hyperplane between the classes of data? And the answer linked by Chaconne indicates that generally, yes you can. The exception is in classifiers that combine multiple "smaller" or "weaker" classifiers together, e.g. K-means, decision trees, boosting, and others like it.
    $endgroup$
    – sidrane
    Apr 15 '18 at 17:31














  • 1




    $begingroup$
    The question really is linear with respect to what? logistic regression is "non-linear", but it is linear in parameters. Polynomial terms are non-linear, but linear in parameters. Neural networks aren't linear in parameters, but could be in terms of variables (potentially). You should think about what you mean by "linear" and try to figure out whether all classifiers would meet that definition of linear.
    $endgroup$
    – Ryan
    Apr 10 '18 at 20:55










  • $begingroup$
    this has also been discussed on stats.se: stats.stackexchange.com/questions/215696
    $endgroup$
    – jld
    Apr 11 '18 at 15:08










  • $begingroup$
    @Chaconne thank you for your comment. That post you linked was very informative.
    $endgroup$
    – sidrane
    Apr 15 '18 at 17:27










  • $begingroup$
    @Ryan what I mean by linear, is if we can project into any higher-dimensional feature space (using a potentially nonlinear mapping), can we draw a single separating hyperplane between the classes of data? And the answer linked by Chaconne indicates that generally, yes you can. The exception is in classifiers that combine multiple "smaller" or "weaker" classifiers together, e.g. K-means, decision trees, boosting, and others like it.
    $endgroup$
    – sidrane
    Apr 15 '18 at 17:31








1




1




$begingroup$
The question really is linear with respect to what? logistic regression is "non-linear", but it is linear in parameters. Polynomial terms are non-linear, but linear in parameters. Neural networks aren't linear in parameters, but could be in terms of variables (potentially). You should think about what you mean by "linear" and try to figure out whether all classifiers would meet that definition of linear.
$endgroup$
– Ryan
Apr 10 '18 at 20:55




$begingroup$
The question really is linear with respect to what? logistic regression is "non-linear", but it is linear in parameters. Polynomial terms are non-linear, but linear in parameters. Neural networks aren't linear in parameters, but could be in terms of variables (potentially). You should think about what you mean by "linear" and try to figure out whether all classifiers would meet that definition of linear.
$endgroup$
– Ryan
Apr 10 '18 at 20:55












$begingroup$
this has also been discussed on stats.se: stats.stackexchange.com/questions/215696
$endgroup$
– jld
Apr 11 '18 at 15:08




$begingroup$
this has also been discussed on stats.se: stats.stackexchange.com/questions/215696
$endgroup$
– jld
Apr 11 '18 at 15:08












$begingroup$
@Chaconne thank you for your comment. That post you linked was very informative.
$endgroup$
– sidrane
Apr 15 '18 at 17:27




$begingroup$
@Chaconne thank you for your comment. That post you linked was very informative.
$endgroup$
– sidrane
Apr 15 '18 at 17:27












$begingroup$
@Ryan what I mean by linear, is if we can project into any higher-dimensional feature space (using a potentially nonlinear mapping), can we draw a single separating hyperplane between the classes of data? And the answer linked by Chaconne indicates that generally, yes you can. The exception is in classifiers that combine multiple "smaller" or "weaker" classifiers together, e.g. K-means, decision trees, boosting, and others like it.
$endgroup$
– sidrane
Apr 15 '18 at 17:31




$begingroup$
@Ryan what I mean by linear, is if we can project into any higher-dimensional feature space (using a potentially nonlinear mapping), can we draw a single separating hyperplane between the classes of data? And the answer linked by Chaconne indicates that generally, yes you can. The exception is in classifiers that combine multiple "smaller" or "weaker" classifiers together, e.g. K-means, decision trees, boosting, and others like it.
$endgroup$
– sidrane
Apr 15 '18 at 17:31










1 Answer
1






active

oldest

votes


















0












$begingroup$

The answer is yes!



Remark 1: by "they all linear" I assume, for any classifier, an existence of an equivalent linear classifier in higher dimensions (that is, a decision hyperplane that that yields identical results to the original classifier for any given input).



Remark 2: it is definitely true for any classifier on a countable domain (e.g., all possible 8bit RGB 256x256 images is quite large but still a countable domain).



For classifiers on uncountable domains (like fields of real numbers), the answer would depend if Cover's theorem holds for infinitely large number of points.
However, I'd rather not be worried about that, since all real-world classifiers implemented on classical computers are discrete :-)






share|improve this answer








New contributor




m0nzderr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$













    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%2f30141%2fare-all-classifiers-linear-in-some-high-dimensional-space%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    The answer is yes!



    Remark 1: by "they all linear" I assume, for any classifier, an existence of an equivalent linear classifier in higher dimensions (that is, a decision hyperplane that that yields identical results to the original classifier for any given input).



    Remark 2: it is definitely true for any classifier on a countable domain (e.g., all possible 8bit RGB 256x256 images is quite large but still a countable domain).



    For classifiers on uncountable domains (like fields of real numbers), the answer would depend if Cover's theorem holds for infinitely large number of points.
    However, I'd rather not be worried about that, since all real-world classifiers implemented on classical computers are discrete :-)






    share|improve this answer








    New contributor




    m0nzderr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






    $endgroup$


















      0












      $begingroup$

      The answer is yes!



      Remark 1: by "they all linear" I assume, for any classifier, an existence of an equivalent linear classifier in higher dimensions (that is, a decision hyperplane that that yields identical results to the original classifier for any given input).



      Remark 2: it is definitely true for any classifier on a countable domain (e.g., all possible 8bit RGB 256x256 images is quite large but still a countable domain).



      For classifiers on uncountable domains (like fields of real numbers), the answer would depend if Cover's theorem holds for infinitely large number of points.
      However, I'd rather not be worried about that, since all real-world classifiers implemented on classical computers are discrete :-)






      share|improve this answer








      New contributor




      m0nzderr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      $endgroup$
















        0












        0








        0





        $begingroup$

        The answer is yes!



        Remark 1: by "they all linear" I assume, for any classifier, an existence of an equivalent linear classifier in higher dimensions (that is, a decision hyperplane that that yields identical results to the original classifier for any given input).



        Remark 2: it is definitely true for any classifier on a countable domain (e.g., all possible 8bit RGB 256x256 images is quite large but still a countable domain).



        For classifiers on uncountable domains (like fields of real numbers), the answer would depend if Cover's theorem holds for infinitely large number of points.
        However, I'd rather not be worried about that, since all real-world classifiers implemented on classical computers are discrete :-)






        share|improve this answer








        New contributor




        m0nzderr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        $endgroup$



        The answer is yes!



        Remark 1: by "they all linear" I assume, for any classifier, an existence of an equivalent linear classifier in higher dimensions (that is, a decision hyperplane that that yields identical results to the original classifier for any given input).



        Remark 2: it is definitely true for any classifier on a countable domain (e.g., all possible 8bit RGB 256x256 images is quite large but still a countable domain).



        For classifiers on uncountable domains (like fields of real numbers), the answer would depend if Cover's theorem holds for infinitely large number of points.
        However, I'd rather not be worried about that, since all real-world classifiers implemented on classical computers are discrete :-)







        share|improve this answer








        New contributor




        m0nzderr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        m0nzderr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 12 mins ago









        m0nzderrm0nzderr

        11




        11




        New contributor




        m0nzderr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        m0nzderr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        m0nzderr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            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%2f30141%2fare-all-classifiers-linear-in-some-high-dimensional-space%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

            Aikido

            Tivadar Csontváry Kosztka

            Metroo de Marsejlo