Linear regression on housing data with blind inference #69
oceans404
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Show and tell project type
Novel Nada Program Example
Github Repo Link
https://github.com/oceans404/nada-linear-regression-housing/tree/main
Video Walkthough Link
No response
Project Description
I ran blind inference on Nillion to predict the house price of a new input home based on 12 features: area, bedrooms, bathrooms, stories, mainroad, guestroom, basement, hotwaterheating, airconditioning, parking, prefarea, furnishingstatus. I trained the model with this housing dataset: https://www.kaggle.com/datasets/yasserh/housing-prices-dataset/data
Result of running main.py with a new input home:
What problems does your project solve? How does it preserve privacy for users?
Inference is the process of using a trained model to make predictions or decisions based on new, unseen data. It is the phase where the model is applied to input data to generate an output, such as a prediction or classification.
This is an example of blind inference, where the party running the price prediction with the new input never sees the trained model state. Instead, the trained model state is provided to the Nada program as a secret, which keeps model state private from the user running inference.
How does the project use Nillion? Describe and link to any Nada programs
Here's my linear regression nada program linear_regression_12.py, inspired by the nada-ai linear regression example. My program has
na.set_log_scale(32)
feature_count = 12
Is there anything else you want to share?
No response
Optional - Link your project and team members' social handles
https://twitter.com/0ceans404
Optional - Team ETH Address(es)
Beta Was this translation helpful? Give feedback.
All reactions