zhujiebing created IGNITE-14919:
-----------------------------------
Summary: [ML] issus for BostonHousePricesPredictionExample
Key: IGNITE-14919
URL: https://issues.apache.org/jira/browse/IGNITE-14919
Project: Ignite
Issue Type: Test
Components: examples
Environment: BostonHousePricesPredictionExample
>>> Perform scoring.
>>> 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
[23:16:23] Ignite node stopped OK [uptime=00:00:00.817]
Reporter: zhujiebing
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,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。
--
This message was sent by Atlassian Jira
(v8.3.4#803005)