QuantumLibraries icon indicating copy to clipboard operation
QuantumLibraries copied to clipboard

System.OverflowException: Arithmetic operation resulted in an overflow

Open vanderryan opened this issue 3 years ago • 1 comments

Describe the bug Expanded dataset. 14 Training data inputs,14 Validation data inputs. Each data point has 29 features: [ 65389, 80, 420, 3, etc, etc up to 28 items ], Running with data like this throws: "Unhandled exception. System.OverflowException: Arithmetic operation resulted in an overflow. at System.Convert.ToInt64(Double value)" Error bubbles up from

let (optimizedModel, nMisses) = TrainSequentialClassifier( Mapped( SequentialModel(ClassifierStructure(), _, 0.0), initialParameters ),

To Reproduce Steps to reproduce the behavior: Follow instructions on Github to run via 'dotnet run'. Please note the only version I could get installed was: Microsoft.Quantum.MachineLearning --version 0.23.195983

Expected behavior Program to run despit increase number of features.

Screenshots If applicable, add screenshots to help explain your problem.

System information

  • OS: Windows 10.0.19043
  • .NET 5.0.202

Additional context Add any other context about the problem here.

vanderryan avatar Aug 04 '22 22:08 vanderryan

Thanks for your report, @vanderryan! It looks like this may be an issue with the QML library, so transferring to the quantumlibraries repo where that can be properly triaged. Thank you!

cgranade avatar Sep 18 '22 18:09 cgranade