Train and test set are not compatibleBuilding compatible datasets for Weka for large, evolving dataStep by step guide to train a multilayer perceptron for the XOR case in Weka?How to interpret Weka Logistic Regression output?WEKA & HMMWeka, train and test models‏Model building and reading Sparse ARFF File in WEKAusing weka j48 in java codeWeka cross-validation, models based on folds never buildDifferences in calculation for Naive net in WEKAHow can I copy attribute in java weka?Weka - cross validation based on nominal values

Every infinite linearly ordered set has two disjoint infinite subsets

What is this blowing instrument used in the acoustic cover of "Taekwondo" by "Walk off the Earth"?

What would Earth look like at night in medieval times?

How come I was asked by a CBP officer why I was in the US?

What are the penalties for overstaying in USA?

How many satellites can stay in a Lagrange point?

Why does Darth Sidious need bodyguards?

Should I tell my insurance company I'm making payments on my new car?

Why aren't (poly-)cotton tents more popular?

What determines the "strength of impact" of a falling object on the ground, momentum or energy?

Why isn’t the tax system continuous rather than bracketed?

Do sudoku answers always have a single minimal clue set?

What is the line crossing the Pacific Ocean that is shown on maps?

Why is the Turkish president's surname spelt in Russian as Эрдоган, with г?

Does ultrasonic bath cleaning damage laboratory volumetric glassware calibration?

The use of "I" and "we" used in the same sentence and other questions

Declining an offer to present a poster instead of a paper

Simple object validator with a new API

Does anycast addressing add additional latency in any way?

Why does the A-4 Skyhawk sit nose-up when on ground?

Going to get married soon, should I do it on Dec 31 or Jan 1?

How can Charles Proxy change settings without admin rights after first time?

How risky is real estate?

Calculating the partial sum of a expl3 sequence



Train and test set are not compatible


Building compatible datasets for Weka for large, evolving dataStep by step guide to train a multilayer perceptron for the XOR case in Weka?How to interpret Weka Logistic Regression output?WEKA & HMMWeka, train and test models‏Model building and reading Sparse ARFF File in WEKAusing weka j48 in java codeWeka cross-validation, models based on folds never buildDifferences in calculation for Naive net in WEKAHow can I copy attribute in java weka?Weka - cross validation based on nominal values






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to use Weka to make decisions using arff files, however when i try to classify i recieve the error "Problem evaluating classifier: Train and test set are not compatible".



This is my weather.arff file



@relation weather
@attribute outlook sunny, overcast, rainy
@attribute temperature real
@attribute humidity real
@attribute windy TRUE, FALSE
@attribute play yes, no
@data
sunny,85,85,FALSE,no
sunny,80,90,TRUE,no
overcast,83,86,FALSE,yes
rainy,70,96,FALSE,yes
rainy,68,80,FALSE,yes
rainy,65,70,TRUE,no
overcast,64,65,TRUE,yes
sunny,72,95,FALSE,no
sunny,69,70,FALSE,yes
rainy,75,80,FALSE,yes
sunny,75,70,TRUE,yes
overcast,72,90,TRUE,yes
overcast,81,75,FALSE,yes
rainy,71,91,TRUE,no


and this is my weather.nominal.classify.arff



@relation weather.symbolic
@attribute outlook sunny, overcast, rainy
@attribute temperature hot, mild, cool
@attribute humidity high, normal
@attribute windy TRUE, FALSE
@attribute play yes, no
@data
overcast,mild,high,TRUE,?









share|improve this question




























    0















    I am trying to use Weka to make decisions using arff files, however when i try to classify i recieve the error "Problem evaluating classifier: Train and test set are not compatible".



    This is my weather.arff file



    @relation weather
    @attribute outlook sunny, overcast, rainy
    @attribute temperature real
    @attribute humidity real
    @attribute windy TRUE, FALSE
    @attribute play yes, no
    @data
    sunny,85,85,FALSE,no
    sunny,80,90,TRUE,no
    overcast,83,86,FALSE,yes
    rainy,70,96,FALSE,yes
    rainy,68,80,FALSE,yes
    rainy,65,70,TRUE,no
    overcast,64,65,TRUE,yes
    sunny,72,95,FALSE,no
    sunny,69,70,FALSE,yes
    rainy,75,80,FALSE,yes
    sunny,75,70,TRUE,yes
    overcast,72,90,TRUE,yes
    overcast,81,75,FALSE,yes
    rainy,71,91,TRUE,no


    and this is my weather.nominal.classify.arff



    @relation weather.symbolic
    @attribute outlook sunny, overcast, rainy
    @attribute temperature hot, mild, cool
    @attribute humidity high, normal
    @attribute windy TRUE, FALSE
    @attribute play yes, no
    @data
    overcast,mild,high,TRUE,?









    share|improve this question
























      0












      0








      0








      I am trying to use Weka to make decisions using arff files, however when i try to classify i recieve the error "Problem evaluating classifier: Train and test set are not compatible".



      This is my weather.arff file



      @relation weather
      @attribute outlook sunny, overcast, rainy
      @attribute temperature real
      @attribute humidity real
      @attribute windy TRUE, FALSE
      @attribute play yes, no
      @data
      sunny,85,85,FALSE,no
      sunny,80,90,TRUE,no
      overcast,83,86,FALSE,yes
      rainy,70,96,FALSE,yes
      rainy,68,80,FALSE,yes
      rainy,65,70,TRUE,no
      overcast,64,65,TRUE,yes
      sunny,72,95,FALSE,no
      sunny,69,70,FALSE,yes
      rainy,75,80,FALSE,yes
      sunny,75,70,TRUE,yes
      overcast,72,90,TRUE,yes
      overcast,81,75,FALSE,yes
      rainy,71,91,TRUE,no


      and this is my weather.nominal.classify.arff



      @relation weather.symbolic
      @attribute outlook sunny, overcast, rainy
      @attribute temperature hot, mild, cool
      @attribute humidity high, normal
      @attribute windy TRUE, FALSE
      @attribute play yes, no
      @data
      overcast,mild,high,TRUE,?









      share|improve this question














      I am trying to use Weka to make decisions using arff files, however when i try to classify i recieve the error "Problem evaluating classifier: Train and test set are not compatible".



      This is my weather.arff file



      @relation weather
      @attribute outlook sunny, overcast, rainy
      @attribute temperature real
      @attribute humidity real
      @attribute windy TRUE, FALSE
      @attribute play yes, no
      @data
      sunny,85,85,FALSE,no
      sunny,80,90,TRUE,no
      overcast,83,86,FALSE,yes
      rainy,70,96,FALSE,yes
      rainy,68,80,FALSE,yes
      rainy,65,70,TRUE,no
      overcast,64,65,TRUE,yes
      sunny,72,95,FALSE,no
      sunny,69,70,FALSE,yes
      rainy,75,80,FALSE,yes
      sunny,75,70,TRUE,yes
      overcast,72,90,TRUE,yes
      overcast,81,75,FALSE,yes
      rainy,71,91,TRUE,no


      and this is my weather.nominal.classify.arff



      @relation weather.symbolic
      @attribute outlook sunny, overcast, rainy
      @attribute temperature hot, mild, cool
      @attribute humidity high, normal
      @attribute windy TRUE, FALSE
      @attribute play yes, no
      @data
      overcast,mild,high,TRUE,?






      weka






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 11:12









      DanDan

      32 bronze badges




      32 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          2














          Your attributes are different. In your first file you have
          @attribute temperature real
          and in your second file you have
          @attribute temperature hot, mild, cool



          Same with humidity. you need to have the attribute definitions completely identical.






          share|improve this answer

























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2fstackoverflow.com%2fquestions%2f55336499%2ftrain-and-test-set-are-not-compatible%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









            2














            Your attributes are different. In your first file you have
            @attribute temperature real
            and in your second file you have
            @attribute temperature hot, mild, cool



            Same with humidity. you need to have the attribute definitions completely identical.






            share|improve this answer



























              2














              Your attributes are different. In your first file you have
              @attribute temperature real
              and in your second file you have
              @attribute temperature hot, mild, cool



              Same with humidity. you need to have the attribute definitions completely identical.






              share|improve this answer

























                2












                2








                2







                Your attributes are different. In your first file you have
                @attribute temperature real
                and in your second file you have
                @attribute temperature hot, mild, cool



                Same with humidity. you need to have the attribute definitions completely identical.






                share|improve this answer













                Your attributes are different. In your first file you have
                @attribute temperature real
                and in your second file you have
                @attribute temperature hot, mild, cool



                Same with humidity. you need to have the attribute definitions completely identical.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 26 at 1:50









                zbicyclistzbicyclist

                4042 silver badges8 bronze badges




                4042 silver badges8 bronze badges





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • 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.

                    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%2fstackoverflow.com%2fquestions%2f55336499%2ftrain-and-test-set-are-not-compatible%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

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현