Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14919

[ML] issus for BostonHousePricesPredictionExample

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • examples
    • None
    • Docs Required, Release Notes Required

    Description

      The version I use is 2.9.1 .  

       

      When I run this example,returns as follows.  When I put the boston_housing_dataset.txt's first sample data into the formula(Fitting equation ?),I got a negative number (-68.2154436)。I want to know the reason for the negative number。 thanks very much.Thanks for answering。

       

      The first sample data is as follows。

      0.02731,0.00,7.070,0,0.4690,6.4210,78.90,4.9671,2,242.0,17.80,396.90,9.14,21.60

       

       

      Output

      >>> Model: 0.04*f0 - 0.05*f1 - 0.79*f2 - 10.01*f3 + 0.28*f4 + 0.01*f5 - 0.89*f6 + 0.54*f7 - 0.00*f8 - 0.18*f9 - 0.01*f10 + 0.09*f11 - 0.15*f12 + 14.10
      >>> R^2 score: 0.5871216903877478

       

      @org.junit.Test
      public void test222()

      { System.out.println(0.04*0.02731 - 0.05*0.00 - 0.79*7.070 - 10.01*0 + 0.28*0.4690 + 0.01*6.4210 - 0.89*78.90 + 0.54*4.9671 - 0.00*2 - 0.18*242.0 - 0.01*17.80 + 0.09*396.90 - 0.15*9.14 + 14.10); // -68.2154436 }

       

      very thankful。

      Attachments

        Activity

          People

            Unassigned Unassigned
            jiebing zhujiebing
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: