cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
TShiino
Level I

When the neural network of JMP is operated in Python, the value is different.

When the neural network created by JMP was saved and run in python code, it output values different from the score output by JMP.

OS:windows 10

Python Version : 3.9

File list 

jmp_score.py
CNN_NTanH_boost.py <- JMP Python 
mypython_code.py


import CNN_NTanH_boost
import numpy as np
import pandas as pd
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)

0 REPLIES 0

Recommended Articles