neuron_switch2.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #include <stdio.h>
  2. /* Definition des variables pour le reseau avec Rrs490/Rrs555 >=.85 */
  3. /* nombre de couches cachees - hidden layer number */
  4. #define rsup2_NC 1
  5. /* nombre de donnees d entree - input data number*/
  6. #define rsup2_NE 5
  7. /* nombre de neurones de la premiere couche cachee - number of neuron in the first hidden layer */
  8. #define rsup2_NC1 10
  9. /* nombre de donnees de sortie - nb output*/
  10. #define rsup2_NS 1
  11. /* nombre de neurones d'entree + sortie - nb input + nb output*/
  12. #define rsup2_NES 6
  13. /* LUTs file names */
  14. #define rsup2_LUT_POIDS "../LUTS/KdSeaWiFS_poids_IOCCG_NOMAD_BOUM_ss_12_COASTCOLOUR_443_to_555_log_Kd_lambda_merge_seuil_15_angle_ascii_6x1_hh_10_publi_250314.sn"
  15. #define rsup2_LUT_MOY "../LUTS/Moy_KdSeaWiFS_IOCCG_NOMAD_BOUM_ss_12_COASTCOLOUR_412_to_670_log_Kd_lambda_merge_seuil_15_angle_publi_250314.dat"
  16. #define rsup2_LUT_ECART "../LUTS/Ecart_KdSeaWiFS_IOCCG_NOMAD_BOUM_ss_12_COASTCOLOUR_412_to_670_log_Kd_lambda_merge_seuil_15_angle_publi_250314.dat"
  17. /* Definition des variables pour le reseau avec Rrs490/Rrs555 <.85 */
  18. /* nombre de couches cachees - hidden layer number */
  19. #define rinf2_NC 1
  20. /* nombre de donnees d entree - input data number*/
  21. #define rinf2_NE 6
  22. /* nombre de neurones de la premiere couche cachee - number of neuron in the first hidden layer */
  23. #define rinf2_NC1 10
  24. /* nombre de donnees de sortie - nb output*/
  25. #define rinf2_NS 1
  26. /* nombre de neurones d'entree + sortie - nb input + nb output*/
  27. #define rinf2_NES 7
  28. /* LUTs file names */
  29. #define rinf2_LUT_POIDS "../LUTS/KdSeaWiFS_poids_IOCCG_NOMAD_BOUM_ss_12_COASTCOLOUR_443_to_670_log_Kd_lambda_merge_seuil_15_angle_ascii_6x1_hh_10_publi_250314.sn"
  30. #define rinf2_LUT_MOY "../LUTS/Moy_KdSeaWiFS_IOCCG_NOMAD_BOUM_ss_12_COASTCOLOUR_412_to_670_log_Kd_lambda_merge_seuil_15_angle_publi_250314.dat"
  31. #define rinf2_LUT_ECART "../LUTS/Ecart_KdSeaWiFS_IOCCG_NOMAD_BOUM_ss_12_COASTCOLOUR_412_to_670_log_Kd_lambda_merge_seuil_15_angle_publi_250314.dat"
  32. /* LUTs parameters definition */
  33. float rsup2_b1[rsup2_NC1], rsup2_b2;
  34. float rsup2_w1[rsup2_NE][rsup2_NC1], rsup2_w2[rsup2_NC1];
  35. float rsup2_moy[rsup2_NES], rsup2_ecart[rsup2_NES];
  36. float rinf2_b1[rinf2_NC1], rinf2_b2;
  37. float rinf2_w1[rinf2_NE][rinf2_NC1], rinf2_w2[rinf2_NC1];
  38. float rinf2_moy[rinf2_NES], rinf2_ecart[rinf2_NES];