Posts

Post not yet marked as solved
1 Replies
598 Views
After drag is either canceled or ended, I see _UIPlatterView still in the view hierarchy which is never cleaned up. Anyone else see this? It's affect dragging from a tableview where the cells are drag targets.
Posted
by Robby.
Last updated
.
Post not yet marked as solved
2 Replies
1.2k Views
DTK crash on launch for Rosetta app as such: Details The operation couldn’t be completed. (OSStatus error -600.) Domain: NSOSStatusErrorDomain Code: -600 User Info: {     "LSFunction" = "LSAnnotateAndSendAppleEventWithOptions";     "_LSLine" = 379; } - System Information macOS Version 11.0 (Build 20A5299w) Xcode 12.0 (17177.0.1)
Posted
by Robby.
Last updated
.
Post not yet marked as solved
0 Replies
461 Views
Runs about 30 seconds and keeps rebooting. Been updating for a couple of hours. I have the mini headless but will connect monitor and usb keyboard/mouse later on. What should I do to fix the rebooting once I connect? Thanks, Rob
Posted
by Robby.
Last updated
.
Post not yet marked as solved
3 Replies
1.3k Views
As I'm currently in need of creating an updatable classifier, but I have yet to find any examples.Been reading Machine Learning by Tutorials and a little of Core ML Survival Guide. Both nice books, but written before we were given the opportunity to update our models on devie in iOS 13.I was using an ML Classifier and updating the model in the cloud with gather data on a backend server. I would like to do the same on device.I've got a number of columns all text and a decisiion as to what group the entry belongs to. Very much like the latest Create ML classifier project. But the model generated as of beta 5 is not updatable.I'm hoping there is a generic solution to solve this much like the easy of creating the ML Classifier. Any help would be greatly appreciated. Web site examples, books, etc. I not against creating this in python if I could see a simple example.Thanks,Rob
Posted
by Robby.
Last updated
.
Post not yet marked as solved
16 Replies
5.6k Views
I am creating a model from an MLDataTable as such: if let dataTable = try? MLDataTable(dictionary: priorityData) { let (trainingCSVData, testCSVData) = dataTable.randomSplit(by: 0.8, seed: 0) print( "Training Data = " + trainingCSVData.description) do { let deleteProbabilityClassifier = try MLClassifier(trainingData: dataTable, targetColumn: "DeleteProbability") // evaluate it let metrics = deleteProbabilityClassifier.evaluation(on: testCSVData) let modelMetadata = MLModelMetadata(author: "Me", shortDescription: "Model for DeleteProbability Prediction", version: "1.1") let modelPath = homeDirURL.appendingPathComponent(name + "-deleteProbabilityPredictor.mlmodel", isDirectory: false) do { try deleteProbabilityClassifier.write(to: modelPath, metadata: modelMetadata) print("Success - DeleteProbability Model written" + modelPath.absoluteString ) print(metrics) return true } catch { print("Failure to write DeleteProbabilityClassifier - " + modelPath.absoluteString) } } catch { print("ML Classifier failed") print("ML Classsifier threw error = " + error.localizedDescription) } } else { print("Failed - MLDataTable ") print(type(of: priorityData)) }What do I need to do to update this code to generate an updatable model? Currently I am running this code within a playground. I do not see any where to set the isUpdatable to true here?Any help would be greatly appreciated.Thanks,Rob
Posted
by Robby.
Last updated
.
Post not yet marked as solved
1 Replies
1.5k Views
Playground creates Core ML Models and works in 10.2.1The error I see in the debug area is:error: Couldn't lookup symbols: __swift_FORCE_LOAD_$_swiftCoreMIDI __swift_FORCE_LOAD_$_swiftCoreMIDI __swift_FORCE_LOAD_$_swiftCoreMIDI __swift_FORCE_LOAD_$_swiftCoreMIDI __swift_FORCE_LOAD_$_swiftCoreMIDI __swift_FORCE_LOAD_$_swiftCoreMIDI __swift_FORCE_LOAD_$_swiftCoreMIDI __swift_FORCE_LOAD_$_swiftCoreMIDI __swift_FORCE_LOAD_$_swiftCoreMIDIAny help with this would be greatly appreciated.Thanks,Rob
Posted
by Robby.
Last updated
.