Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

System.OverflowException: Arithmetic operation resulted in an overflow #629

Open
vanderryan opened this issue Aug 4, 2022 · 1 comment
Labels
Kind-Bug Something isn't working Pkg-QML Issue relates to the Microsoft.Quantum.MachineLearning package.

Comments

@vanderryan
Copy link

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.

@cgranade
Copy link
Contributor

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 cgranade transferred this issue from microsoft/Quantum Sep 18, 2022
@msoeken msoeken added Kind-Bug Something isn't working Pkg-QML Issue relates to the Microsoft.Quantum.MachineLearning package. labels Sep 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Kind-Bug Something isn't working Pkg-QML Issue relates to the Microsoft.Quantum.MachineLearning package.
Projects
None yet
Development

No branches or pull requests

3 participants