-
-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Hi everyone,
It appears that the functions Classify, Predict, PredictorMeasurements, and ClassifierMeasurements do not display their contents correctly in WLJS. I've also tried using MMAView on their outputs, but it doesn't produce any meaningful output either.
These functions typically return symbolic objects that include a summary of the classifier or predictor's performance on the provided dataset. In desktop Mathematica or the notebook interface, these objects show a formatted summary by default.
However, in WLJS, no such summary is rendered — the output a big chunk of text with warnings about its size.
That said, individual properties can still be accessed and displayed correctly. For example, calling ["RSquared"] on a PredictorMeasurements object works as expected.
Also, when using Classify or Predict without ; at the end of the line forces the loss of WLJS GUI and instead shows some Wolfram Language back-end stuff in big fonts, e.g. :
Predict @ {{0.8187357933936258`,0.8085989263432799`,0.8139188470280988`,0.8544469700633553`,0.10837730765795882`,0.2728384033185245`,0.18928859539276685`,0.1567774294809393`,0.16482588245788285`,0.19748070329094758`}->0.881588238138995`,{0.7796779029839919`,0.8187357933936258`,0.8085989263432799`,0.8139188470280988`,0.05535936586780704`,0.2508467295503352`,0.1912847981767239`,0.1598962561702868`,0.16003141780247968`,0.19304093330019045`}->0.803878705808386`,{0.7278135125985394`,0.7796779029839919`,0.8187357933936258`,0.8085989263432799`,0.01955621325745722`,0.22524558970641276`,0.19315273923909318`,0.162140217274601`,0.15549599366755315`,0.18893979567667313`}->0.7170962905643952`}EDIT : And also, happy holidays!