Commit 1a2bcd4b authored by Antoine Regimbeau's avatar Antoine Regimbeau

TEST: second part import all baseline but tif

parent 6967a30a
Forward UTM projection:
[1.4835345, 43.55968261] -> [377522.448427013, 4824086.71129131]
[1.4835345, 43.55968261] -> [377522.448427348, 4824086.71134283]
Forward Lambert93 projection:
[1.4835345, 43.55968261] -> [577437.889798954, 6274578.791561]
Forward generic projection:
[1.4835345, 43.55968261] -> [377522.448427013, 4824086.71129131]
[1.4835345, 43.55968261] -> [577437.889799322, 6274578.79155995]
<?xml version="1.0" ?>
<GeneralStatistics>
<Statistic name="samplesPerClass">
<StatisticMap key="1" value="4238" />
<StatisticMap key="2" value="563" />
<StatisticMap key="3" value="9561" />
<StatisticMap key="4" value="85" />
<StatisticMap key="1" value="4244" />
<StatisticMap key="2" value="564" />
<StatisticMap key="3" value="9560" />
<StatisticMap key="4" value="87" />
</Statistic>
<Statistic name="samplesPerVector">
<StatisticMap key="0" value="4238" />
<StatisticMap key="1" value="563" />
<StatisticMap key="2" value="9561" />
<StatisticMap key="3" value="85" />
<StatisticMap key="1" value="4244" />
<StatisticMap key="2" value="564" />
<StatisticMap key="3" value="9560" />
<StatisticMap key="4" value="87" />
</Statistic>
</GeneralStatistics>
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,42,0,0
0,0,42,0
0,0,0,42
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,42,0,0
0,0,42,0
0,0,0,42
#Reference labels (rows):1,3
#Produced labels (columns):1,3
2122,0
0,2122
This source diff could not be displayed because it is too large. You can view the blob instead.
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,41,1,0
0,0,42,0
0,0,0,42
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,41,1,0
0,0,42,0
0,0,0,42
......@@ -33,33 +33,33 @@ my_tree: !!opencv-ml-tree
nodes:
-
depth: 0
sample_count: 172
sample_count: 180
value: 1.
norm_class_idx: 0
Tn: 0
complexity: 4
alpha: 43.
node_risk: 129.
alpha: 45.
node_risk: 135.
tree_risk: 0.
tree_error: 0.
splits:
- { var:0, quality:86., le:-8.9000031352043152e-02 }
- { var:0, quality:90., le:2.4664748460054398e-02 }
-
depth: 1
sample_count: 86
sample_count: 90
value: 1.
norm_class_idx: 0
Tn: 2147483647
complexity: 2
alpha: 43.
node_risk: 43.
alpha: 45.
node_risk: 45.
tree_risk: 0.
tree_error: 0.
splits:
- { var:3, quality:86., le:-1.3876452445983887e+00 }
- { var:3, quality:90., le:-1.2730357646942139e+00 }
-
depth: 2
sample_count: 43
sample_count: 45
value: 1.
norm_class_idx: 0
Tn: 2147483647
......@@ -70,7 +70,7 @@ my_tree: !!opencv-ml-tree
tree_error: 0.
-
depth: 2
sample_count: 43
sample_count: 45
value: 3.
norm_class_idx: 2
Tn: 2147483647
......@@ -81,20 +81,20 @@ my_tree: !!opencv-ml-tree
tree_error: 0.
-
depth: 1
sample_count: 86
sample_count: 90
value: 2.
norm_class_idx: 1
Tn: 2147483647
complexity: 2
alpha: 43.
node_risk: 43.
alpha: 45.
node_risk: 45.
tree_risk: 0.
tree_error: 0.
splits:
- { var:1, quality:86., le:3.4949243068695068e-01 }
- { var:2, quality:90., le:8.2657122611999512e-01 }
-
depth: 2
sample_count: 43
sample_count: 45
value: 2.
norm_class_idx: 1
Tn: 2147483647
......@@ -105,7 +105,7 @@ my_tree: !!opencv-ml-tree
tree_error: 0.
-
depth: 2
sample_count: 43
sample_count: 45
value: 4.
norm_class_idx: 3
Tn: 2147483647
......
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,41,1,0
0,0,42,0
0,0,0,42
This diff is collapsed.
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,42,0,0
3,3,36,0
0,0,0,42
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,42,0,0
0,0,42,0
0,0,0,42
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,41,1,0
1,0,41,0
0,0,0,42
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,42,0,0
0,1,41,0
0,0,0,42
#Reference labels (rows):1,2,3,4
#Produced labels (columns):1,2,3,4
42,0,0,0
0,42,0,0
0,1,41,0
0,0,0,42
PROJCS["WGS 84 / UTM zone 31N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],AUTHORITY["EPSG","32631"],AXIS["Easting",EAST],AXIS["Northing",NORTH]]
PROJCS["UTM Zone 31, Northern Hemisphere",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AXIS["Lat",NORTH],AXIS["Long",EAST],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]]
Forward projection:
[1.44, 43.605] -> [374100.828760369, 4829184.80636283]
[1.44, 43.605] -> [374100.8287608, 4829184.80641377]
PROJCS["WGS 84 / UTM zone 31N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],AUTHORITY["EPSG","32631"],AXIS["Easting",EAST],AXIS["Northing",NORTH]]
PROJCS["UTM Zone 31, Northern Hemisphere",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AXIS["Lat",NORTH],AXIS["Long",EAST],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]]
Inverse projection:
[374100.8, 4829184.8] -> [1.43999964524438, 43.6049999378673]
[374100.8, 4829184.8] -> [1.439999645251, 43.6049999374087]
......@@ -2,23 +2,16 @@ Testing geopoint: [1.3561728980, 43.4876035537]
Testing wgs84 to wgs84: [1.3561728980, 43.4876035537] -> [1.3561728980, 43.4876035537]
Testing utm 31 north to utm 31 north: [367077.723, 4816277.087] -> [367077.723, 4816277.087]
Testing lambert 2 to lambert 2: [520521.365, 1832217.887] -> [520521.365, 1832217.887]
Testing transmercator 31 north to transmercator: [-388621.465, -693821.597] -> [-388621.465, -693821.597]
Testing lambert 93 to lambert 93: [520573.738, 1832222.818] -> [520573.738, 1832222.818]
Testing geo 2 carto ...
Testing wgs84 to utm 31 north: [1.3561728980, 43.4876035537] -> [367077.723, 4816277.087]
Testing utm 31 north to wgs84: [367077.723, 4816277.087] -> [1.3561728980, 43.4876035537]
Testing wgs84 to lambert 2: [1.3561728980, 43.4876035537] -> [520521.365, 1832217.887]
Testing lambert 2 to wgs84: [520521.365, 1832217.887] -> [1.3561728980, 43.4876035537]
Testing wgs84 to transmeractor: [1.3561728980, 43.4876035537] -> [-388621.465, -693821.597]
Testing transmercator to wgs84: [-388621.465, -693821.597] -> [1.3561728982, 43.4876035537]
Testing wgs84 to lambert 93: [1.3561728980, 43.4876035537] -> [520573.738, 1832222.818]
Testing lambert 93 to wgs84: [520573.738, 1832222.818] -> [1.3561728980, 43.4876035537]
Testing cross geo ...
Testing lambert 2 to utm 31 north: [520521.365, 1832217.887] -> [367077.723, 4816277.087]
Testing utm 31 north to lambert 2: [367077.723, 4816277.087] -> [520521.365, 1832217.887]
Testing lambert 2 to transmercator: [520521.365, 1832217.887] -> [-388621.465, -693821.597]
Testing transmercator to lambert 2: [-388621.465, -693821.597] -> [520521.365, 1832217.887]
Testing transmercator to utm 31 north: [-388621.465, -693821.597] -> [367077.723, 4816277.087]
Testing utm 31 north to transmercator: [367077.723, 4816277.087] -> [-388621.465, -693821.597]
Testing lambert 93 to utm 31 north: [520573.738, 1832222.818] -> [367077.723, 4816277.087]
Testing utm 31 north to lambert 93: [367077.723, 4816277.087] -> [520573.738, 1832222.818]
%YAML:1.0
---
opencv_ml_dtree:
format: 3
is_classifier: 1
var_all: 5
var_count: 4
ord_var_count: 4
cat_var_count: 1
training_params:
use_surrogates: 0
max_categories: 10
regression_accuracy: 9.9999997764825821e-03
max_depth: 10
min_sample_count: 10
cross_validation_folds: 0
global_var_idx: 1
var_idx: [ 0, 1, 2, 3 ]
var_type: [ 0, 0, 0, 0, 1 ]
cat_ofs: [ 0, 0, 0, 0, 0, 0, 0, 0 ]
class_labels: [ 1, 2, 3, 4 ]
missing_subst: [ 0., 0., 0., 0., 0. ]
nodes:
-
depth: 0
value: 1.
norm_class_idx: 0
splits:
- { var:0, quality:90., le:2.4664748460054398e-02 }
-
depth: 1
value: 1.
norm_class_idx: 0
splits:
- { var:3, quality:90., le:-1.2730357646942139e+00 }
-
depth: 2
value: 1.
norm_class_idx: 0
-
depth: 2
value: 3.
norm_class_idx: 2
-
depth: 1
value: 2.
norm_class_idx: 1
splits:
- { var:2, quality:90., le:8.2657122611999512e-01 }
-
depth: 2
value: 2.
norm_class_idx: 1
-
depth: 2
value: 4.
norm_class_idx: 3
%YAML:1.0
my_tree: !!opencv-ml-tree
is_classifier: 1
var_all: 4
var_count: 4
ord_var_count: 4
cat_var_count: 0
training_params:
use_surrogates: 1
max_categories: 10
max_depth: 25
min_sample_count: 10
cross_validation_folds: 10
use_1se_rule: 1
truncate_pruned_tree: 1
priors: !!opencv-matrix
rows: 1
cols: 4
dt: d
data: [ 1., 1., 1., 1. ]
var_type: [ 0, 0, 0, 0 ]
cat_count: !!opencv-matrix
rows: 1
cols: 1
dt: i
data: [ 4 ]
cat_map: !!opencv-matrix
rows: 1
cols: 4
dt: i
data: [ 1, 2, 3, 4 ]
best_tree_idx: -1
nodes:
-
depth: 0
sample_count: 180
value: 1.
norm_class_idx: 0
Tn: 0
complexity: 4
alpha: 45.
node_risk: 135.
tree_risk: 0.
tree_error: 0.
splits:
- { var:0, quality:90., le:2.4664748460054398e-02 }
-
depth: 1
sample_count: 90
value: 1.
norm_class_idx: 0
Tn: 2147483647
complexity: 2
alpha: 45.
node_risk: 45.
tree_risk: 0.
tree_error: 0.
splits:
- { var:3, quality:90., le:-1.2730357646942139e+00 }
-
depth: 2
sample_count: 45
value: 1.
norm_class_idx: 0
Tn: 2147483647
complexity: 1
alpha: 0.
node_risk: 0.
tree_risk: 0.
tree_error: 0.
-
depth: 2
sample_count: 45
value: 3.
norm_class_idx: 2
Tn: 2147483647
complexity: 1
alpha: 0.
node_risk: 0.
tree_risk: 0.
tree_error: 0.
-
depth: 1
sample_count: 90
value: 2.
norm_class_idx: 1
Tn: 2147483647
complexity: 2
alpha: 45.
node_risk: 45.
tree_risk: 0.
tree_error: 0.
splits:
- { var:2, quality:90., le:8.2657122611999512e-01 }
-
depth: 2
sample_count: 45
value: 2.
norm_class_idx: 1
Tn: 2147483647
complexity: 1
alpha: 0.
node_risk: 0.
tree_risk: 0.
tree_error: 0.
-
depth: 2
sample_count: 45
value: 4.
norm_class_idx: 3
Tn: 2147483647
complexity: 1
alpha: 0.
node_risk: 0.
tree_risk: 0.
tree_error: 0.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment