<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic When the neural network of JMP is operated in Python, the value is different. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/When-the-neural-network-of-JMP-is-operated-in-Python-the-value/m-p/701781#M88626</link>
    <description>&lt;P&gt;When the neural network created by JMP was saved and run in python code, it output values different from the score output by JMP.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;OS：windows 10&lt;/P&gt;&lt;P&gt;Python Version : 3.9&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;File list&amp;nbsp;&lt;/P&gt;&lt;P&gt;jmp_score.py&lt;BR /&gt;CNN_NTanH_boost.py &amp;lt;- JMP Python&amp;nbsp;&lt;BR /&gt;mypython_code.py&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;import CNN_NTanH_boost&lt;BR /&gt;import numpy as np&lt;BR /&gt;import pandas as pd&lt;/PRE&gt;&lt;PRE&gt;filepath = r"filepath"
ext = 'csv'
if filepath.endswith(ext):
    df=pd.read_csv(filepath)
else :
    df=pd.read_excel(filepath)

input_list_dict = CNN_NTanH_boost.getInputMetadata()
input_list = list(input_list_dict.keys())

output_list_dict = CNN_NTanH_boost.getOutputMetadata()
output_list = list(output_list_dict.keys())

out_df_temp = pd.DataFrame(np.zeros((1,len(output_list))),columns=output_list)

number = 0
out = CNN_NTanH_boost.score(df[ROI_list].iloc[number],out_df_temp)

&lt;/PRE&gt;</description>
    <pubDate>Wed, 22 Nov 2023 04:48:41 GMT</pubDate>
    <dc:creator>TShiino</dc:creator>
    <dc:date>2023-11-22T04:48:41Z</dc:date>
    <item>
      <title>When the neural network of JMP is operated in Python, the value is different.</title>
      <link>https://community.jmp.com/t5/Discussions/When-the-neural-network-of-JMP-is-operated-in-Python-the-value/m-p/701781#M88626</link>
      <description>&lt;P&gt;When the neural network created by JMP was saved and run in python code, it output values different from the score output by JMP.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;OS：windows 10&lt;/P&gt;&lt;P&gt;Python Version : 3.9&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;File list&amp;nbsp;&lt;/P&gt;&lt;P&gt;jmp_score.py&lt;BR /&gt;CNN_NTanH_boost.py &amp;lt;- JMP Python&amp;nbsp;&lt;BR /&gt;mypython_code.py&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;import CNN_NTanH_boost&lt;BR /&gt;import numpy as np&lt;BR /&gt;import pandas as pd&lt;/PRE&gt;&lt;PRE&gt;filepath = r"filepath"
ext = 'csv'
if filepath.endswith(ext):
    df=pd.read_csv(filepath)
else :
    df=pd.read_excel(filepath)

input_list_dict = CNN_NTanH_boost.getInputMetadata()
input_list = list(input_list_dict.keys())

output_list_dict = CNN_NTanH_boost.getOutputMetadata()
output_list = list(output_list_dict.keys())

out_df_temp = pd.DataFrame(np.zeros((1,len(output_list))),columns=output_list)

number = 0
out = CNN_NTanH_boost.score(df[ROI_list].iloc[number],out_df_temp)

&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Nov 2023 04:48:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/When-the-neural-network-of-JMP-is-operated-in-Python-the-value/m-p/701781#M88626</guid>
      <dc:creator>TShiino</dc:creator>
      <dc:date>2023-11-22T04:48:41Z</dc:date>
    </item>
  </channel>
</rss>

