Salome HOME
Merge branch 'V9_9_BR'
[modules/yacs.git] / src / pmml / PMMLlib.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 591800d..2a17f97
@@ -1,5 +1,4 @@
-//////////////////////////////////////////////////////////////
-// Copyright (C) 2013 CEA/DEN
+// Copyright (C) 2013-2022 CEA/DEN
 //
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU Lesser General Public License as published
@@ -13,7 +12,7 @@
 //
 // You should have received a copy of the GNU Lesser General Public License
 // along with this program. If not, see <http://www.gnu.org/licenses/>.
-//////////////////////////////////////////////////////////////
+
 /*!
   \file   PMMLlib.cxx
   \author Incka
@@ -2041,7 +2040,7 @@ std::string PMMLlib::ExportNeuralNetworkPyStr(std::string functionName,
     fillVectorsForExport(nInput,nOutput,nHidden,normType,minInput,maxInput,minOutput,maxOutput,valW);
 
     // Shebang et imports
-    out << "#!/usr/bin/env python" << endl;
+    out << "#!/usr/bin/env python3" << endl;
     out << "# -*- coding: utf-8 -*-" << endl;
     out << endl;
     out << "from math import tanh, exp" << endl;
@@ -2811,7 +2810,7 @@ std::string PMMLlib::ExportLinearRegressionPyStr(std::string functionName,
     ostringstream out;
     
     // Shebang et imports
-    out << "#!/usr/bin/env python" << endl;
+    out << "#!/usr/bin/env python3" << endl;
     out << "# -*- coding: utf-8 -*-" << endl;
     out << endl;