jmp on pythonGood morning,
I am trying to use python to compare the result obtained on JMP.
So I have my code generated by JMP but I have to apply it on python and I can't generate anything.
I can't "
import jmp_score ace jmp"
which gets me out of mistakes
Import "jmp_score" could not be resolved
If anyone knows python and knows how to do it
WindowsRe: jmp sur pythonI think you have to set the right path, you can find the .py file under installation directory of your JMP:
"INSTALLATION_FOLDER\SAS\JMP\17\Scoring\Python\jmp_score.py"
Re: jmp sur pythonfrom __future__ import division
import jmp_score as jmp
from math import *
import numpy as np
def getModelMetadata():
Mon début de code ressemble à cela, tu propose de mettre le open dès le début ?
Re: jmp sur pythonDon't know if I understood right, I think the beginning should look like this:
from __future__ import division
import sys
sys.path.append("C:/Program Files/SAS/JMPPRO/17/Scoring/Python/")
import jmp_score as jmp
from math import *
import numpy as npYou probably need to adapt the path to your installation directory.
Re: jmp sur pythonThanks Experts!