Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classification first version #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
# Path of the data location
#############################################################
# File where are stored the list of cities to process (note that the cities to be processed should be String - even for insee codes - separated by comma and the file should be located in the same folder as the current file)
nameFileCities="allCities.csv"
nameFileCities="test_cities.csv"
outputFolder="/home/decide/Data/URBIO/Donnees_brutes/LCZ/TrainingDataSets/Indicators/"
dependentVariablePath="/home/decide/Documents/CloudS/LABSTICC/ClassificationSupervisee/Data/data_apprentissage.shp"
pathToSaveTrainingDataSet="/home/decide/Data/URBIO/Donnees_brutes/UrbanTypo/BDTOPO_V2/MaPuce/TrainingDataset/"
pathToSaveTrainingDataSet="/home/decide/Data/URBIO/Donnees_brutes/UrbanTypo/BDTOPO_V2/MaPuce/TrainingDataset2/"

##############################################################"
# Parameters to set
Expand Down Expand Up @@ -43,7 +43,7 @@ pathToSaveResultSensit="/home/decide/Data/URBIO/Donnees_brutes/UrbanTypo/BDTOPO_
# Whether of not the filename containing the dataset by city should contain the datasetName ('BDTOPO_V2' or 'OSM')
datasetByCityContainsDataset=0
# File path to save the resulting dataset WITHOUT THE EXTENSION !!
pathToSaveFinalDataset="/home/decide/Code/Intel/geoclimate/models/TRAINING_DATA_URBAN_TYPOLOGY_BDTOPO_V2_RF_1_0"
pathToSaveFinalDataset="/home/decide/Code/Intel/geoclimate/models/TRAINING_DATA_UTRF_BDTOPO_V2_RF_2_2"
thresholdCol="UNIQUENESS_VALUE:0.3"
# File where are saved all columns to use as independent variables for the training
fileNameCol2keep="cols2Keep.csv"
Expand Down
2 changes: 1 addition & 1 deletion classification/UrbanTypo_MaPuce_BDTopo_v2/cols2Keep.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BLOCK_AREA,BLOCK_AVG_HEIGHT_ROOF_AREA_WEIGHTED,BLOCK_BUILDING_DIRECTION_EQUALITY,BLOCK_BUILDING_DIRECTION_UNIQUENESS,BLOCK_CLOSINGNESS,BLOCK_FLOOR_AREA,BLOCK_HOLE_AREA_DENSITY,BLOCK_NET_COMPACTNESS,BLOCK_STD_HEIGHT_ROOF_AREA_WEIGHTED,BLOCK_VOLUME,BUILD_AREA,BUILD_AREA_CONCAVITY,BUILD_COMMON_WALL_FRACTION,BUILD_CONTIGUITY,BUILD_FLOOR_AREA,BUILD_FORM_FACTOR,BUILD_HEIGHT_ROOF,BUILD_HEIGHT_WALL,BUILD_LIKELIHOOD_LARGE_BUILDING,BUILD_MAIN_USE,BUILD_MINIMUM_BUILDING_SPACING,BUILD_NB_LEV,BUILD_NUMBER_BUILDING_NEIGHBOR,BUILD_PERIMETER,BUILD_PERIMETER_CONVEXITY,BUILD_RAW_COMPACTNESS,BUILD_ROAD_DISTANCE,BUILD_TOTAL_FACADE_LENGTH,BUILD_TYPE,BUILD_VOLUME,RSU_AREA,RSU_ASPECT_RATIO,RSU_AVG_HEIGHT_ROOF_AREA_WEIGHTED,RSU_AVG_MINIMUM_BUILDING_SPACING,RSU_AVG_NUMBER_BUILDING_NEIGHBOR,RSU_AVG_VOLUME,RSU_BUILDING_DIRECTION_EQUALITY,RSU_BUILDING_DIRECTION_UNIQUENESS,RSU_BUILDING_FLOOR_AREA_DENSITY,RSU_BUILDING_FRACTION,RSU_BUILDING_NUMBER_DENSITY,RSU_BUILDING_TOTAL_FRACTION,RSU_BUILDING_VOLUME_DENSITY,RSU_FREE_EXTERNAL_FACADE_DENSITY,RSU_GEOM_AVG_HEIGHT_ROOF,RSU_GROUND_LINEAR_ROAD_DENSITY,RSU_HIGH_VEGETATION_BUILDING_FRACTION,RSU_HIGH_VEGETATION_FRACTION,RSU_HIGH_VEGETATION_IMPERVIOUS_FRACTION,RSU_HIGH_VEGETATION_IMPERVIOUS_FRACTION_URB,RSU_HIGH_VEGETATION_LOW_VEGETATION_FRACTION,RSU_HIGH_VEGETATION_PERVIOUS_FRACTION_URB,RSU_HIGH_VEGETATION_ROAD_FRACTION,RSU_HIGH_VEGETATION_WATER_FRACTION,RSU_IMPERVIOUS_FRACTION,RSU_IMPERVIOUS_FRACTION_URB,RSU_LOW_VEGETATION_FRACTION,RSU_LOW_VEGETATION_FRACTION_URB,RSU_ROAD_FRACTION,RSU_ROAD_FRACTION_URB,RSU_STD_HEIGHT_ROOF_AREA_WEIGHTED,RSU_VEGETATION_FRACTION_URB,RSU_WATER_FRACTION
BLOCK_AREA,BLOCK_AVG_HEIGHT_ROOF_AREA_WEIGHTED,BLOCK_BUILDING_DIRECTION_EQUALITY,BLOCK_BUILDING_DIRECTION_UNIQUENESS,BLOCK_CLOSINGNESS,BLOCK_FLOOR_AREA,BLOCK_HOLE_AREA_DENSITY,BLOCK_NET_COMPACTNESS,BLOCK_STD_HEIGHT_ROOF_AREA_WEIGHTED,BLOCK_VOLUME,BUILD_AREA,BUILD_AREA_CONCAVITY,BUILD_COMMON_WALL_FRACTION,BUILD_CONTIGUITY,BUILD_FLOOR_AREA,BUILD_FORM_FACTOR,BUILD_HEIGHT_ROOF,BUILD_HEIGHT_WALL,BUILD_LIKELIHOOD_LARGE_BUILDING,BUILD_MAIN_USE,BUILD_MINIMUM_BUILDING_SPACING,BUILD_NB_LEV,BUILD_NUMBER_BUILDING_NEIGHBOR,BUILD_PERIMETER,BUILD_PERIMETER_CONVEXITY,BUILD_RAW_COMPACTNESS,BUILD_ROAD_DISTANCE,BUILD_TOTAL_FACADE_LENGTH,BUILD_TYPE,BUILD_VOLUME,RSU_AREA,RSU_ASPECT_RATIO,RSU_AVG_HEIGHT_ROOF_AREA_WEIGHTED,RSU_AVG_MINIMUM_BUILDING_SPACING,RSU_AVG_NUMBER_BUILDING_NEIGHBOR,RSU_AVG_VOLUME,RSU_BUILDING_DIRECTION_EQUALITY,RSU_BUILDING_DIRECTION_UNIQUENESS,RSU_BUILDING_FLOOR_AREA_DENSITY,RSU_BUILDING_FRACTION,RSU_BUILDING_NUMBER_DENSITY,RSU_BUILDING_TOTAL_FRACTION,RSU_BUILDING_VOLUME_DENSITY,RSU_FREE_EXTERNAL_FACADE_DENSITY,RSU_GEOM_AVG_HEIGHT_ROOF,RSU_GROUND_LINEAR_ROAD_DENSITY,RSU_HIGH_VEGETATION_BUILDING_FRACTION,RSU_HIGH_VEGETATION_FRACTION,RSU_HIGH_VEGETATION_IMPERVIOUS_FRACTION,RSU_HIGH_VEGETATION_IMPERVIOUS_FRACTION_UTRF,RSU_HIGH_VEGETATION_LOW_VEGETATION_FRACTION,RSU_HIGH_VEGETATION_PERVIOUS_FRACTION_UTRF,RSU_HIGH_VEGETATION_ROAD_FRACTION,RSU_HIGH_VEGETATION_WATER_FRACTION,RSU_IMPERVIOUS_FRACTION,RSU_IMPERVIOUS_FRACTION_UTRF,RSU_LOW_VEGETATION_FRACTION,RSU_LOW_VEGETATION_FRACTION_UTRF,RSU_ROAD_FRACTION,RSU_ROAD_FRACTION_UTRF,RSU_STD_HEIGHT_ROOF_AREA_WEIGHTED,RSU_VEGETATION_FRACTION_UTRF,RSU_WATER_FRACTION
2 changes: 1 addition & 1 deletion classification/UrbanTypo_MaPuce_BDTopo_v2/test_cities.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"13010","13027","13066","13083","17010","17028","17032","17059","17094","17136","17193","17194","17274","17291","17300","17391","17407","17414","17420","17443","30351","31044","31052","31069","31091","31113","31116","31149","31150","31165","31187","31203","31230","31341","31395","31420","31424","31433","31445","31446","31458","31490","31506","31547","31555","31557","31588","44014","44018","44020","44026","44029","44037","44047","44070","44094","44101","44109","44130","44143","44162","44172","44190","44215","68015","68043","68056","68154","68166","68218","68224","68256","68271","68278","68300","68321","68375","68376","74010","74011","74019","74026","74067","74093","74104","74108","74112","74147","74152","74182","74213","74217","74242","74267","74268","74272","75101","75104","75105","75106","75107","75108","75109","75110","75111","75112","75113","75114","75115","75116","75117","75118","75119","75120","84007","84016","84034","84035","84036","84039","84054","84081","84087","84092","84129","84141","84142","92004","92009","92012","92025","92026","92033","92036","92040","92046","92047","92048","92049","92050","92062","92063","92064","92072","92073","92075","92076","92077","92078"
"13010","13027","13066","13083","17010","17028","17059","17094","17136","17193","17274","17291","17300","17391","17407","17414","17420","17443","30351","31044","31052","31069","31091","31113","31116","31149","31150","31160","31165","31187","31203","31230","31341","31395","31420","31424","31433","31445","31446","31458","31490","31506","31547","31555","31557","31588","44014","44018","44020","44026","44029","44037","44047","44070","44094","44101","44109","44130","44143","44162","44172","44190","44215","68015","68043","68056","68154","68166","68218","68224","68256","68271","68278","68300","68321","68375","68376","74010","74011","74019","74026","74067","74093","74104","74108","74112","74147","74152","74182","74213","74217","74242","74267","74268","74272","75101","75104","75105","75106","75107","75108","75109","75110","75111","75112","75113","75114","75115","75116","75117","75118","75119","75120","84007","84016","84034","84035","84036","84039","84054","84081","84087","84092","84129","84141","84142","92004","92009","92012","92025","92026","92033","92036","92040","92046","92047","92048","92049","92050","92062","92063","92064","92072","92073","92075","92076","92077","92078"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
nameFileCities="test_cities.csv"
outputFolder="/home/decide/Data/URBIO/Donnees_brutes/LCZ/TrainingDataSets/Indicators/"
dependentVariablePath="/home/decide/Documents/CloudS/LABSTICC/ClassificationSupervisee/Data/data_apprentissage"
pathToSaveTrainingDataSet="/home/decide/Data/URBIO/Donnees_brutes/UrbanTypo/OSM/MaPuce/TrainingDataset/"
pathToSaveTrainingDataSet="/home/decide/Data/URBIO/Donnees_brutes/UrbanTypo/OSM/MaPuce/TrainingDataset2/"

##############################################################"
# Parameters to set
Expand Down Expand Up @@ -43,7 +43,7 @@ pathToSaveResultSensit="/home/decide/Data/URBIO/Donnees_brutes/UrbanTypo/BDTOPO_
# Whether of not the filename containing the dataset by city should contain the datasetName ('BDTOPO_V2' or 'OSM')
datasetByCityContainsDataset=0
# File path to save the resulting dataset WITHOUT THE EXTENSION !!
pathToSaveFinalDataset="/home/decide/Code/Intel/geoclimate/models/TRAINING_DATA_URBAN_TYPOLOGY_OSM_RF_2_0"
pathToSaveFinalDataset="/home/decide/Code/Intel/geoclimate/models/TRAINING_DATA_UTRF_OSM_RF_2_2"
thresholdCol="UNIQUENESS_VALUE:0.3"
# File where are saved all columns to use as independent variables for the training
fileNameCol2keep="cols2Keep.csv"
Expand Down
2 changes: 1 addition & 1 deletion classification/UrbanTypo_MaPuce_OSM/cols2Keep.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BUILD_AVG_PERIMETER,BUILD_STD_PERIMETER,BUILD_AVG_AREA,BUILD_STD_AREA,BUILD_AVG_TOTAL_FACADE_LENGTH,BUILD_STD_TOTAL_FACADE_LENGTH,BUILD_STD_COMMON_WALL_FRACTION,BUILD_STD_NUMBER_BUILDING_NEIGHBOR,BUILD_AVG_AREA_CONCAVITY,BUILD_STD_AREA_CONCAVITY,BUILD_AVG_FORM_FACTOR,BUILD_STD_FORM_FACTOR,BUILD_AVG_PERIMETER_CONVEXITY,BUILD_STD_PERIMETER_CONVEXITY,BUILD_STD_MINIMUM_BUILDING_SPACING,BUILD_AVG_ROAD_DISTANCE,BUILD_STD_ROAD_DISTANCE,BUILD_AVG_LIKELIHOOD_LARGE_BUILDING,BUILD_STD_LIKELIHOOD_LARGE_BUILDING,RSU_HIGH_VEGETATION_FRACTION,RSU_HIGH_VEGETATION_WATER_FRACTION,RSU_HIGH_VEGETATION_BUILDING_FRACTION,RSU_HIGH_VEGETATION_LOW_VEGETATION_FRACTION,RSU_HIGH_VEGETATION_ROAD_FRACTION,RSU_HIGH_VEGETATION_IMPERVIOUS_FRACTION,RSU_WATER_FRACTION,RSU_BUILDING_FRACTION,RSU_LOW_VEGETATION_FRACTION,RSU_ROAD_FRACTION,RSU_IMPERVIOUS_FRACTION,RSU_VEGETATION_FRACTION_URB,RSU_LOW_VEGETATION_FRACTION_URB,RSU_HIGH_VEGETATION_IMPERVIOUS_FRACTION_URB,RSU_HIGH_VEGETATION_PERVIOUS_FRACTION_URB,RSU_ROAD_FRACTION_URB,RSU_IMPERVIOUS_FRACTION_URB,RSU_AREA,RSU_GROUND_LINEAR_ROAD_DENSITY,RSU_AVG_NUMBER_BUILDING_NEIGHBOR,RSU_AVG_MINIMUM_BUILDING_SPACING,RSU_BUILDING_NUMBER_DENSITY,RSU_BUILDING_TOTAL_FRACTION,RSU_BUILDING_DIRECTION_EQUALITY,RSU_BUILDING_DIRECTION_UNIQUENESS,BUILD_TYPE,BUILD_MAIN_USE,BUILD_PERIMETER,BUILD_AREA,BUILD_TOTAL_FACADE_LENGTH,BUILD_COMMON_WALL_FRACTION,BUILD_NUMBER_BUILDING_NEIGHBOR,BUILD_AREA_CONCAVITY,BUILD_FORM_FACTOR,BUILD_PERIMETER_CONVEXITY,BUILD_MINIMUM_BUILDING_SPACING,BUILD_ROAD_DISTANCE,BUILD_LIKELIHOOD_LARGE_BUILDING,BLOCK_AREA,BLOCK_HOLE_AREA_DENSITY,BLOCK_BUILDING_DIRECTION_EQUALITY,BLOCK_BUILDING_DIRECTION_UNIQUENESS,BLOCK_CLOSINGNESS
BUILD_AVG_PERIMETER,BUILD_STD_PERIMETER,BUILD_AVG_AREA,BUILD_STD_AREA,BUILD_AVG_TOTAL_FACADE_LENGTH,BUILD_STD_TOTAL_FACADE_LENGTH,BUILD_STD_COMMON_WALL_FRACTION,BUILD_STD_NUMBER_BUILDING_NEIGHBOR,BUILD_AVG_AREA_CONCAVITY,BUILD_STD_AREA_CONCAVITY,BUILD_AVG_FORM_FACTOR,BUILD_STD_FORM_FACTOR,BUILD_AVG_PERIMETER_CONVEXITY,BUILD_STD_PERIMETER_CONVEXITY,BUILD_STD_MINIMUM_BUILDING_SPACING,BUILD_AVG_ROAD_DISTANCE,BUILD_STD_ROAD_DISTANCE,BUILD_AVG_LIKELIHOOD_LARGE_BUILDING,BUILD_STD_LIKELIHOOD_LARGE_BUILDING,RSU_HIGH_VEGETATION_FRACTION,RSU_HIGH_VEGETATION_WATER_FRACTION,RSU_HIGH_VEGETATION_BUILDING_FRACTION,RSU_HIGH_VEGETATION_LOW_VEGETATION_FRACTION,RSU_HIGH_VEGETATION_ROAD_FRACTION,RSU_HIGH_VEGETATION_IMPERVIOUS_FRACTION,RSU_WATER_FRACTION,RSU_BUILDING_FRACTION,RSU_LOW_VEGETATION_FRACTION,RSU_ROAD_FRACTION,RSU_IMPERVIOUS_FRACTION,RSU_VEGETATION_FRACTION_UTRF,RSU_LOW_VEGETATION_FRACTION_UTRF,RSU_HIGH_VEGETATION_IMPERVIOUS_FRACTION_UTRF,RSU_HIGH_VEGETATION_PERVIOUS_FRACTION_UTRF,RSU_ROAD_FRACTION_UTRF,RSU_IMPERVIOUS_FRACTION_UTRF,RSU_AREA,RSU_GROUND_LINEAR_ROAD_DENSITY,RSU_AVG_NUMBER_BUILDING_NEIGHBOR,RSU_AVG_MINIMUM_BUILDING_SPACING,RSU_BUILDING_NUMBER_DENSITY,RSU_BUILDING_TOTAL_FRACTION,RSU_BUILDING_DIRECTION_EQUALITY,RSU_BUILDING_DIRECTION_UNIQUENESS,BUILD_TYPE,BUILD_MAIN_USE,BUILD_PERIMETER,BUILD_AREA,BUILD_TOTAL_FACADE_LENGTH,BUILD_COMMON_WALL_FRACTION,BUILD_NUMBER_BUILDING_NEIGHBOR,BUILD_AREA_CONCAVITY,BUILD_FORM_FACTOR,BUILD_PERIMETER_CONVEXITY,BUILD_MINIMUM_BUILDING_SPACING,BUILD_ROAD_DISTANCE,BUILD_LIKELIHOOD_LARGE_BUILDING,BLOCK_AREA,BLOCK_HOLE_AREA_DENSITY,BLOCK_BUILDING_DIRECTION_EQUALITY,BLOCK_BUILDING_DIRECTION_UNIQUENESS,BLOCK_CLOSINGNESS
1 change: 1 addition & 0 deletions classification/UrbanTypo_MaPuce_OSM/configFile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"description":"Apply the OSM workflow","geoclimatedb":{"path":"/tmp/geoclimate_db;AUTO_SERVER=TRUE","delete":true},"input":{"osm":["ORANGE"]},"output":{"folder":"/home/decide/Data/URBIO/Donnees_brutes/LCZ/TrainingDataSets/Indicators/OSM"},"parameters":{"indicatorUse":["URBAN_TYPOLOGY"],"svfSimplified":false,"prefixName":""}}
2 changes: 1 addition & 1 deletion classification/UrbanTypo_MaPuce_OSM/test_cities.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"BARBENTANE","CHATEAURENARD","NOVES","ROGNONAS","ANGOULINS","AYTRE","BALLON","BOURGNEUF","CHATELAILLON-PLAGE","CROIX-CHAPEAU","LA JARNE","LA JARRIE","PERIGNY","PUILBOREAU","LA ROCHELLE","SAINT-ROGATIEN","SAINTE-SOULLE","SAINT-XANDRE","SALLES-SUR-MER","THAIRE","VILLENEUVE-LES-AVIGNON","BALMA","BEAUMONT-SUR-LEZE","BLAGNAC","BRUGUIERES","CASTANET-TOLOSAN","CASTELGINEST","COLOMIERS","CORNEBARRIEU","DAUX","EAUNES","FONSORBES","FROUZINS","GRATENTOUR","MERVILLE","MURET","PINSAGUEL","PLAISANCE-DU-TOUCH","PORTET-SUR-GARONNE","QUINT-FONSEGRIVES","RAMONVILLE-SAINT-AGNE","ROQUES","SAINT-JORY","SAINT-ORENS-DE-GAMEVILLE","SEYSSES","TOULOUSE","TOURNEFEUILLE","VILLENEUVE-TOLOSANE","LE BIGNON","BOUAYE","BOUGUENAIS","CARQUEFOU","LA CHAPELLE-BASSE-MER","CHATEAU-THEBAUD","COUERON","LA HAIE-FOUASSIERE","MAUVES-SUR-LOIRE","LA MONTAGNE","NANTES","PONT-SAINT-MARTIN","REZE","SAINT-HERBLAIN","SAINTE-LUCE-SUR-LOIRE","SAINT-SEBASTIEN-SUR-LOIRE","VERTOU","BALDERSHEIM","BOLLWILLER","BRUNSTATT","DIDENHEIM","ILLZACH","KINGERSHEIM","MORSCHWILLER-LE-BAS","MULHOUSE","PFASTATT","RIEDISHEIM","RIXHEIM","SAUSHEIM","STAFFELFELDEN","WITTELSHEIM","WITTENHEIM","ANNECY","ANNECY-LE-VIEUX","ARGONAY","LA BALME-DE-SILLINGY","CHAVANOD","CRAN-GEVRIER","DOUSSARD","DUINGT","EPAGNY","LATHUILE","LOVAGNY","METZ-TESSY","MEYTHET","POISY","PRINGY","SAINT-JORIOZ","SEVRIER","SEYNOD","SILLINGY","PARIS","AVIGNON","BEDARRIDES","CAUMONT-SUR-DURANCE","CAVAILLON","CHATEAUNEUF-DE-GADAGNE","COURTHEZON","L'ISLE-SUR-LA-SORGUE","MORIERES-LES-AVIGNON","LE PONTET","SORGUES","VEDENE","VELLERON","ASNIERES-SUR-SEINE","BOIS-COLOMBES","BOULOGNE-BILLANCOURT","COLOMBES","COURBEVOIE","GARCHES","GENNEVILLIERS","ISSY-LES-MOULINEAUX","MALAKOFF","MARNES-LA-COQUETTE","MEUDON","MONTROUGE","NANTERRE","PUTEAUX","RUEIL-MALMAISON","SAINT-CLOUD","SEVRES","SURESNES","VANVES","VAUCRESSON","VILLE-D'AVRAY","VILLENEUVE-LA-GARENNE"
"BARBENTANE","CHATEAURENARD","NOVES","ROGNONAS","ANGOULINS","AYTRE","BOURGNEUF","CHATELAILLON-PLAGE","CROIX-CHAPEAU","LA JARNE","PUILBOREAU","LA ROCHELLE","SAINT-ROGATIEN","SAINTE-SOULLE","SAINT-XANDRE","SALLES-SUR-MER","THAIRE","VILLENEUVE-LES-AVIGNON","BALMA","BEAUMONT-SUR-LEZE","BLAGNAC","BRUGUIERES","CASTANET-TOLOSAN","CASTELGINEST","COLOMIERS","CORNEBARRIEU","DAUX","FONSORBES","FROUZINS","GRATENTOUR","MURET","PINSAGUEL","PLAISANCE-DU-TOUCH","PORTET-SUR-GARONNE","QUINT-FONSEGRIVES","RAMONVILLE-SAINT-AGNE","ROQUES","SAINT-JORY","SAINT-ORENS-DE-GAMEVILLE","SEYSSES","TOULOUSE","TOURNEFEUILLE","VILLENEUVE-TOLOSANE","LE BIGNON","BOUAYE","BOUGUENAIS","CARQUEFOU","LA CHAPELLE-BASSE-MER","CHATEAU-THEBAUD","COUERON","LA HAIE-FOUASSIERE","MAUVES-SUR-LOIRE","NANTES","PONT-SAINT-MARTIN","REZE","SAINT-HERBLAIN","SAINTE-LUCE-SUR-LOIRE","SAINT-SEBASTIEN-SUR-LOIRE","VERTOU","BALDERSHEIM","BOLLWILLER","BRUNSTATT","DIDENHEIM","ILLZACH","KINGERSHEIM","MORSCHWILLER-LE-BAS","MULHOUSE","PFASTATT","RIEDISHEIM","RIXHEIM","SAUSHEIM","STAFFELFELDEN","WITTELSHEIM","WITTENHEIM","ANNECY","ANNECY-LE-VIEUX","ARGONAY","LA BALME-DE-SILLINGY","CHAVANOD","CRAN-GEVRIER","DOUSSARD","DUINGT","EPAGNY","LATHUILE","LOVAGNY","METZ-TESSY","MEYTHET","POISY","SAINT-JORIOZ","SEVRIER","SEYNOD","SILLINGY","PARIS","AVIGNON","BEDARRIDES","CAUMONT-SUR-DURANCE","CAVAILLON","CHATEAUNEUF-DE-GADAGNE","COURTHEZON","L'ISLE-SUR-LA-SORGUE","MORIERES-LES-AVIGNON","SORGUES","VEDENE","ASNIERES-SUR-SEINE","BOIS-COLOMBES","BOULOGNE-BILLANCOURT","COLOMBES","COURBEVOIE","GARCHES","GENNEVILLIERS","ISSY-LES-MOULINEAUX","MALAKOFF","MARNES-LA-COQUETTE","MEUDON","MONTROUGE","NANTERRE","PUTEAUX","RUEIL-MALMAISON","SAINT-CLOUD","SEVRES","SURESNES","VANVES","VAUCRESSON","VILLE-D'AVRAY","VILLENEUVE-LA-GARENNE"
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pathToSaveResultSensit="/home/decide/Data/URBIO/Donnees_brutes/BuildingHeight/BD
datasetByCityContainsDataset=0
# File path to save the resulting dataset WITHOUT THE EXTENSION !!
pathToSaveFinalDataset="/home/decide/Code/Intel/geoclimate/models/TRAINING_DATA_BUILDINGHEIGHT_OSM_RF_1_0"
thresholdCol="UNIQUENESS_VALUE:0.95"
thresholdCol="UNIQUENESS_VALUE:0.7"
# File where are saved all columns to use as independent variables for the training
fileNameCol2keep="cols2Keep.csv"
optionalinputFileSuffix=".geojson"
Expand Down
7 changes: 4 additions & 3 deletions classification/calculateIndependentVariables.groovy
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
// Declaration of the maven repository
@GrabResolver(name='orbisgis', root='https://nexus.orbisgis.org/repository/orbisgis/')


// Declaration of our Nexus repository, where the geoclimate project is stored
@Grab(group='org.orbisgis.orbisprocess', module='geoclimate', version='1.0.0-SNAPSHOT', classifier='jar-with-dependencies', transitive=false)
@Grab(group='org.orbisgis.geoclimate', module='geoclimate', version='1.0.0-SNAPSHOT')

//JSON lib
@Grab(group='org.codehaus.groovy', module='groovy-json', version='3.0.4')

import org.orbisgis.orbisprocess.geoclimate.Geoclimate
import org.orbisgis.orbisprocess.geoclimate.geoindicators.Geoindicators
import org.orbisgis.geoclimate.Geoclimate
import org.orbisgis.geoclimate.Geoindicators
import org.orbisgis.orbisdata.datamanager.jdbc.h2gis.H2GIS
import org.orbisgis.orbisdata.datamanager.jdbc.*
import groovy.json.JsonOutput
Expand Down
Loading