Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: new features in CML 1.6 #735

Merged
merged 14 commits into from
Jun 20, 2024
Merged

docs: new features in CML 1.6 #735

merged 14 commits into from
Jun 20, 2024

Conversation

andrei-stoian-zama
Copy link
Collaborator

@andrei-stoian-zama andrei-stoian-zama commented Jun 17, 2024

Add docs for new features

  • Dataframe schema
  • Training deployment
  • Tree based models import

Closes https://github.com/zama-ai/concrete-ml-internal/issues/4432
Closes https://github.com/zama-ai/concrete-ml-internal/issues/4478

@andrei-stoian-zama andrei-stoian-zama requested a review from a team as a code owner June 17, 2024 15:53
@cla-bot cla-bot bot added the cla-signed label Jun 17, 2024
RomanBredehoft
RomanBredehoft previously approved these changes Jun 18, 2024
jfrery
jfrery previously approved these changes Jun 18, 2024
@andrei-stoian-zama andrei-stoian-zama dismissed stale reviews from jfrery and RomanBredehoft via b85c4ca June 19, 2024 09:04
Copy link
Contributor

@yuxizama yuxizama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some rewording suggestions
Thanks! :)

docs/built-in-models/encrypted_dataframe.md Outdated Show resolved Hide resolved
docs/built-in-models/encrypted_dataframe.md Outdated Show resolved Hide resolved
docs/built-in-models/training.md Outdated Show resolved Hide resolved
docs/built-in-models/training.md Outdated Show resolved Hide resolved
docs/built-in-models/training.md Outdated Show resolved Hide resolved
docs/built-in-models/training.md Outdated Show resolved Hide resolved
@@ -12,7 +12,7 @@ Concrete ML is an open source, privacy-preserving, machine learning framework ba

- **Training on encrypted data**: FHE is an encryption technique that allows computing directly on encrypted data, without needing to decrypt it. With FHE, you can build private-by-design applications without compromising on features. Learn more about FHE in [this introduction](https://www.zama.ai/post/tfhe-deep-dive-part-1) or join the [FHE.org](https://fhe.org) community.

- **Federated learning**: Training on encrypted data provides the highest level of privacy but is slower than training on clear data. Federated learning is an alternative approach, where data privacy can be ensured by using a trusted gradient aggregator, coupled with optional _differential privacy_ instead of encryption. Concrete ML can import linear models, including logistic regression, that are trained using federated learning using the [`from_sklearn` function](../built-in-models/linear.md#pre-trained-models).
- **Federated learning**: Training on encrypted data provides the highest level of privacy but is slower than training on clear data. Federated learning is an alternative approach, where data privacy can be ensured by using a trusted gradient aggregator, coupled with optional _differential privacy_ instead of encryption. Concrete ML can import all types of models: linear, tree-based and neural networks, that are trained using federated learning using the [`from_sklearn_model` function](../built-in-models/linear.md#pre-trained-models) and the [`compile_torch_model`](../deep-learning/torch_support.md) function.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **Federated learning**: Training on encrypted data provides the highest level of privacy but is slower than training on clear data. Federated learning is an alternative approach, where data privacy can be ensured by using a trusted gradient aggregator, coupled with optional _differential privacy_ instead of encryption. Concrete ML can import all types of models: linear, tree-based and neural networks, that are trained using federated learning using the [`from_sklearn_model` function](../built-in-models/linear.md#pre-trained-models) and the [`compile_torch_model`](../deep-learning/torch_support.md) function.
- **Federated learning**: Training on encrypted data provides the highest level of privacy but is slower than training on clear data. Federated learning is an alternative approach, where data privacy can be ensured by using a trusted gradient aggregator, coupled with optional _differential privacy_ instead of encryption. Concrete ML can import all types of models: linear, tree-based and neural networks using the [`from_sklearn_model` function](../built-in-models/linear.md#pre-trained-models) and the [`compile_torch_model`](../deep-learning/torch_support.md) function.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why we only mention federated learning here?
Or at least the sentence seems a bit restrictive 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we mention pre-trained import (not in the context of FL) on the built-in model pages

Copy link
Collaborator

@fd0r fd0r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some small remark but fine with me

@andrei-stoian-zama andrei-stoian-zama merged commit 79d4a60 into main Jun 20, 2024
16 checks passed
@andrei-stoian-zama andrei-stoian-zama deleted the docs/cml_16_features branch June 20, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants