openfheorg / openfhe-logreg-training-examples Goto Github PK
View Code? Open in Web Editor NEWOpenFHE-Based Examples of Logistic Regression Training using Nesterov Accelerated Gradient Descent
License: BSD 2-Clause "Simplified" License
OpenFHE-Based Examples of Logistic Regression Training using Nesterov Accelerated Gradient Descent
License: BSD 2-Clause "Simplified" License
When running the ./lr_nag
command , I encountered an error related to an empty input evaluation key map, resulting in a termination of the program. Below is the error message:
bootstrapping enabled
Running in 64-bit mode
Using Bootstrapping
*********************************************
Bootstrapping Crypto Params
Discrete key used: UNIFORM_TERNARY
Approx Bootstrap depth: 8
Levels before bootstrap: 15
Final Bootstrap Depth: 32
Generating keys
Mult keys
EvalSum keys
Feature Analysis: min ave max
BWTR14: -1 -0.0670072 1
RECWT: -1 -0.906798 1
APGAR5R: -1 0.0507812 1
BFEDN: -1 -0.353516 1
AB_NICUN: -1 0.474609 1
APGAR5: -1 -0.815065 1
CIG_RECN: -1 0.703125 1
CA_CCHDY: -1 -0.988281 1
BFEDU: -1 -0.625 1
: 1 1 1 intercept
Feature Analysis: min ave max
BWTR14: -1.81406 8.75629e-09 2.11671
RECWT: -0.397435 -1.03125e-08 7.33578
APGAR5R: -1.69504 -1.62249e-09 1.52858
BFEDN: -0.699621 5.72989e-09 1.42931
AB_NICUN: -1.63742 1.29645e-08 0.610703
APGAR5: -0.650891 2.64614e-09 6.63565
CIG_RECN: -2.27874 -1.06741e-08 0.43883
CA_CCHDY: -0.101282 -3.50169e-09 9.87319
BFEDU: -0.447842 8.56796e-09 2.23288
: 1 1 1 intercept
Feature Analysis: min ave max
: 0 0.5 1MORT
Feature Analysis: min ave max
: 0 0.5 1MORT
EvalRotate keys
colSize x rowSize = 4096 * 16 = 65536
Bootstrap Iteration: 0 ******************************************************************
terminate called after throwing an instance of 'lbcrypto::OpenFHEException'
what(): /usr/local/include/openfhe/pke/schemebase/base-scheme.h:l.1214:EvalSumRows(): Input evaluation key map is empty
Steps to Reproduce:
Cloned the repository.
Followed the installation instructions.
Build this repo
Executed the./lr_nag
command.
Expected Behavior:
The ./lr_nag
command should run without errors and produce the expected output.
Actual Behavior:
The program terminates with the mentioned error related to an empty input evaluation key map.
Additional Information:
Operating System: [Ubuntu20.04]
Compiler Version: [g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0]
I appreciate any guidance or assistance in resolving this issue. Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.