secretflow
A unified framework for privacy-preserving data analysis and machine learning
파일 탐색기
최종 버전 다운로드 (.zip)- config.yml
- continue-config.yml
- release-config.yml
- bug_report.yaml
- config.yml
- feature_request.yaml
- usage_questions.yaml
- pull_request_template_pets.md
- black.yml
- buildifier.yml
- cla.yml
- docs-publish.yml
- license-check.yml
- oscp.yml
- publish_pypi.yml
- publish_testpypi.yml
- stale.yml
- translator.yml
- yaml-linter.yml
- CODEOWNERS
- pull_request_template.md
- .gitignore
- build.sh
- Dockerfile
- entry.sh
- README.md
- nsjail.cfg
- nsjail_seccomp.policy
- README.md
- run.sh
- .condarc
- .gitignore
- build.sh
- entrypoint.py
- entrypoint.sh
- python.Dockerfile
- secretflow-gpu.Dockerfile
- secretflow_entrypoint.py
- secretflow_entrypoint.sh
- ubuntu.Dockerfile
- build.sh
- Occlum.custom.json
- python.yaml
- README.md
- teeu.Dockerfile
- tls_cert.py
- .gitignore
- comp_list.json
- config_templates.yml
- deploy_templates.yml
- README.md
- requirements.txt
- update_meta.py
- poedit.png
- preview-content.png
- preview-sitemap.png
- custom.css
- custom.js
- device.svg
- favicon.ico
- logo-dark.png
- logo-light.png
- pp_tech_comparison.png
- ray.svg
- secretflow.svg
- secretflow_arch.svg
- index.rst
- attack_defense.md
- poison.md
- attack.md
- defense.md
- summary.md
- pir.md
- psi.md
- psu.md
- dp.md
- fe.md
- he.md
- mpc.md
- tee.md
- tpm.md
- zkp.md
- secretflow.md
- crypto-beginner.md
- posts.md
- talks.md
- awesome-pets.md
- comp_guide.rst
- comp_list.md
- comp_spec.md
- comp_spec.tmpl
- comp_spec_design.rst
- index.rst
- update_comp_list.py
- 3386cb76-53c1-4df6-ae5e-a26314609d5c.png
- 4bded9b0-d913-48b2-b7a9-c05e0d2c7c81.png
- 7629c228-bc51-4ef7-93e9-9f0c465d025d.png
- 9bab546b-6578-4ff7-b8f7-9f26ab4df46a.png
- e63ba232-025b-4b4f-9c57-d61d80cc8a1f.png
- ecdh_psi_line.png
- generate_psi.py
- ubpsi_benchmark.png
- ubpsi_offline.png
- ubpsi_online.png
- overall_benchmark.md
- psi_benchmark.md
- sgb_benchmark.md
- heu_arch.png
- heu_layer.svg
- multi-controller.png
- primitive.png
- cpu_model.png
- early_stop.svg
- enclave.png
- flmodel.jpg
- gpu_model.png
- pipeline.svg
- spu_compiler.png
- spu_inside.png
- spu_model.png
- spu_vm.png
- tee_roadmap_cn.png
- tee_roadmap_en.png
- teeu.png
- teeu_detail.png
- teeu_sequence.svg
- architecture.md
- heu.rst
- programming_in_secretflow.md
- spu.rst
- teeu.md
- index.rst
- debug_01.png
- debug_02.png
- debug_03.png
- debug_04.png
- rayfed_comm_ch.png
- rayfed_comm_en.png
- simulation_comm_ch.png
- simulation_comm_en.png
- debug_mode.md
- deployment.md
- index.rst
- installation.md
- index.po
- comp_guide.po
- comp_list.po
- comp_spec.po
- comp_spec_design.po
- index.po
- overall_benchmark.po
- psi_benchmark.po
- sgb_benchmark.po
- ubpsi_benchmark.po
- architecture.po
- heu.po
- programming_in_secretflow.po
- spu.po
- teeu.po
- index.po
- deployment.po
- GPU_check.po
- index.po
- installation.po
- teeu_fillna.po
- teeu_labelencoder.po
- teeu_onehotencoder.po
- teeu_regression.po
- CustomDataLoaderOnSL.po
- CustomDataLoaderTF.po
- CustomDataLoaderTorch.po
- data_preprocessing_with_data_frame.po
- FedDataFrameDataLoader.po
- FedNdarrayDataLoader.po
- gpt2_with_puma.po
- gpt2_with_spu.po
- GPU_check.po
- index.po
- lr_with_spu.po
- nn_with_spu.po
- numpy_with_spu.po
- practical_case_walkthrough_using_sf_with_spu.po
- PSI_On_SPU.po
- risk_control_scenario.po
- spu_basics.po
- ss_glm.po
- teeu.po
- teeu_xgboost.po
- WeightOfEvidenceEncoding.po
- decision_tree.po
- feature_eng.po
- generalized_linear_model.po
- index.po
- linear_model.po
- DataFrame.po
- index.po
- WeightOfEvidenceEncoding.po
- index.po
- psi.po
- .gitignore
- index.po
- module.rst_t
- package.rst_t
- toc.rst_t
- federate_learning.png
- flower_dataset_demo.png
- split_gnn.svg
- split_learning_gnn_data.png
- split_learning_gnn_model.png
- split_learning_tutorial.png
- spu_basics_compiler.png
- spu_basics_devices.png
- spu_basics_distribute.png
- vdataframe.png
- teeu_fillna.md
- teeu_labelencoder.md
- teeu_linerregression.md
- teeu_onehotencoder.md
- Custom_Loss_Federated_Learning_with_Pytorch.ipynb
- CustomDataLoaderOnSL.ipynb
- CustomDataLoaderTF.ipynb
- CustomDataLoaderTorch.ipynb
- data_preprocessing_with_data_frame.ipynb
- FedDataFrameDataLoader.ipynb
- FedNdarrayDataLoader.ipynb
- gpt2_with_puma.ipynb
- gpt2_with_spu.ipynb
- GPU_check.ipynb
- index.rst
- lr_with_spu.ipynb
- nn_with_spu.ipynb
- numpy_with_spu.ipynb
- practical_case_walkthrough_using_sf_with_spu.ipynb
- programming_guide.ipynb
- PSI_On_SPU.ipynb
- risk_control_scenario.ipynb
- SL_Training_with_compressor.ipynb
- spu_basics.ipynb
- ss_glm.ipynb
- teeu.md
- teeu_xgboost.md
- WeightOfEvidenceEncoding.ipynb
- gain_formula.png
- indicator_vecto.jpg
- v_dataset.png
- weight_formula.png
- decision_tree.rst
- feature_eng.ipynb
- generalized_linear_model.rst
- index.rst
- linear_model.rst
- DataFrame.ipynb
- index.rst
- WeightOfEvidenceEncoding.ipynb
- dataframe.png
- dh_psi.svg
- dh_psi_3p.svg
- dp_psi.png
- ecdh_oprf_psi.png
- kkrt16_psi.png
- pcg_psi.svg
- index.rst
- psi.rst
- clean.py
- conf.py
- CONTRIBUTING.md
- index.rst
- Makefile
- requirements.txt
- update_data.sh
- exec_new.sh
- README.md
- sync_new.sh
- test.py
- test_config.sh
- test_new.sh
- __init__.py
- README.md
- __init__.py
- my_component.py
- __init__.py
- entry.py
- translation.json
- build.sh
- README.md
- requirements.txt
- setup.py
- __init__.py
- connector.py
- datamesh.py
- mock.py
- __init__.py
- base.py
- model.py
- tarfile.py
- vtable_utils.py
- __init__.py
- checkpoint.py
- config.py
- context.py
- dataframe.py
- dataframe_io.py
- entry.py
- envs.py
- i18n.py
- io.py
- plugin.py
- progressor.py
- resources.py
- serving_builder.py
- types.py
- utils.py
- __init__.py
- bin_utils.py
- bins.py
- vert_bins.py
- woe_bin_utils.py
- woe_bins.py
- __init__.py
- sgb.py
- __init__.py
- ss_glm.py
- __init__.py
- __init__.py
- data_sink.py
- data_source.py
- identity.py
- read_data.py
- write_data.py
- __init__.py
- boost.py
- sgb.py
- sgb_predict.py
- sgb_train.py
- ss_xgb.py
- ss_xgb_predict.py
- ss_xgb_train.py
- __init__.py
- kmeans.py
- __init__.py
- biclassification_eval.py
- prediction_bias_eval.py
- regression_eval.py
- ss_pvalue.py
- __init__.py
- gaussian_process_classifier.py
- __init__.py
- linear.py
- ss_glm.py
- ss_glm_predict.py
- ss_glm_train.py
- ss_sgd.py
- ss_sgd_predict.py
- ss_sgd_train.py
- __init__.py
- gaussian_naive_bayes.py
- __init__.py
- k_neighbors_classifier.py
- __init__.py
- example_1.png
- example_2.png
- example_3_1.png
- example_3_2.png
- __init__.py
- instruction_for_use.md
- model_export.py
- README.md
- __init__.py
- score_card_transformer.py
- __init__.py
- base.py
- vert_binning.py
- vert_woe_binning.py
- __init__.py
- pis_utils.py
- psi.py
- psi_tp.py
- train_test_split.py
- ub_psi.py
- ub_psi_cache.py
- union.py
- __init__.py
- condition_filter.py
- expr_condition_filter.py
- feature_filter.py
- sample.py
- __init__.py
- substitution.py
- __init__.py
- binary_op.py
- case_when.py
- cast.py
- feature_calculate.py
- fillna.py
- onehot_encode.py
- sql_processor.py
- __init__.py
- preprocessing.py
- README.md
- __init__.py
- serving_model_inferencer.py
- __init__.py
- groupby_statistics.py
- ss_pearsonr.py
- ss_vif.py
- stats_psi.py
- table_statistics.py
- __init__.py
- README.md
- translation.json
- __init__.py
- compute.py
- tracer.py
- __init__.py
- dataframe.py
- util.py
- __init__.py
- dataframe.py
- util.py
- __init__.py
- agent.py
- base.py
- io.py
- partition.py
- __init__.py
- dataframe_groupby.py
- __init__.py
- dataframe.py
- io.py
- __init__.py
- oss.py
- util.py
- __init__.py
- dataframe.py
- __init__.py
- math_utils.py
- ndarray.py
- __init__.py
- dataframe.py
- io.py
- __init__.py
- base.py
- split.py
- __init__.py
- _utils.py
- base.py
- heu.py
- heu_object.py
- pyu.py
- register.py
- spu.py
- teeu.py
- type_traits.py
- __init__.py
- heu.py
- pyu.py
- spu.py
- teeu.py
- __init__.py
- driver.py
- global_state.py
- proxy.py
- __init__.py
- brpc_link.py
- __init__.py
- fed.proto
- fed_pb2.py
- fed_pb2.pyi
- fed_pb2_grpc.py
- grpc.py
- __init__.py
- base.py
- __init__.py
- actor.py
- api.py
- call_holder.py
- exception.py
- global_context.py
- object.py
- __init__.py
- memory_actor.py
- memory_api.py
- memory_function.py
- __init__.py
- config.py
- const.py
- op_context.py
- op_strategy.py
- primitive.py
- ray_op.py
- __init__.py
- datamesh.py
- entry.py
- meta_conversion.py
- ray_config.py
- sf_config.py
- task_config.py
- __init__.py
- callback.py
- data_preprocess.py
- metric.py
- order_map_tools.py
- __init__.py
- level_cache.py
- __init__.py
- distributed_tree.py
- split_tree.py
- __init__.py
- boost.py
- bucket_sum.py
- grad.py
- node_select.py
- pred.py
- random.py
- __init__.py
- importance.py
- params.py
- __init__.py
- global_ordermap_booster.py
- __init__.py
- bucket_sum_calculator.py
- leaf_wise_bucket_sum_calculator.py
- __init__.py
- level_wise_cache.py
- node_bucket_sum_cache_internal.py
- node_wise_bucket_sum_cache.py
- __init__.py
- data_preprocessor.py
- __init__.py
- gradient_encryptor.py
- __init__.py
- leaf_actor.py
- leaf_manager.py
- __init__.py
- loss_computer.py
- loss_computer_actor.py
- __init__.py
- model_builder.py
- __init__.py
- node_selector.py
- __init__.py
- order_map_actor.py
- order_map_context.py
- order_map_manager.py
- __init__.py
- sample_actor.py
- sampler.py
- __init__.py
- shuffler.py
- shuffler_core.py
- worker_shuffler.py
- __init__.py
- split_candidate_heap.py
- split_candidate_manager.py
- __init__.py
- leaf_wise_split_finder.py
- split_finder.py
- __init__.py
- split_tree_actor.py
- split_tree_builder.py
- __init__.py
- leaf_wise_tree_trainer.py
- level_wise_tree_trainer.py
- tree_trainer.py
- __init__.py
- component.py
- logging.py
- __init__.py
- factory.py
- sgb_actor.py
- __init__.py
- checkpoint.py
- complete_model.py
- complete_tree.py
- model.py
- __init__.py
- node_split.py
- tree_worker.py
- xgb_tree.py
- __init__.py
- booster.py
- checkpoint.py
- model.py
- __init__.py
- __init__.py
- kmeans.py
- __init__.py
- gaussian_process_classifier.py
- __init__.py
- model.py
- router_hooks.py
- __init__.py
- distribution.py
- link.py
- __init__.py
- metrics.py
- model.py
- __init__.py
- model.py
- __init__.py
- fl_lr_mix.py
- fl_lr_v.py
- linear_model.py
- __init__.py
- gnb.py
- __init__.py
- knn.py
- __init__.py
- base.py
- README.md
- __init__.py
- chi_merge.py
- __init__.py
- vert_bin_substitution.py
- vert_binning.py
- vert_binning_pyu.py
- vert_woe_binning.py
- vert_woe_binning_pyu.py
- __init__.py
- base.py
- encoder.py
- scaler.py
- bin_data.proto
- calculate_rules.proto
- case_when_rules.proto
- cluster.proto
- data.proto
- groupby_aggregation_config.proto
- linear_model.proto
- preprocessing_meta.proto
- sgb_model.proto
- __init__.py
- ldp_aggregator.py
- lldp_aggregator.py
- qpldp_aggregator.py
- README.md
- __init__.py
- _utils.py
- aggregator.py
- plain_aggregator.py
- secure_aggregator.py
- spu_aggregator.py
- __init__.py
- comparator.py
- device_comparator.py
- plain_comparator.py
- spu_comparator.py
- __init__.py
- diffie_hellman.py
- __init__.py
- bin_data_pb2.py
- bin_data_pb2.pyi
- calculate_rules_pb2.py
- calculate_rules_pb2.pyi
- case_when_rules_pb2.py
- case_when_rules_pb2.pyi
- cluster_pb2.py
- cluster_pb2.pyi
- data_pb2.py
- data_pb2.pyi
- groupby_aggregation_config_pb2.py
- groupby_aggregation_config_pb2.pyi
- linear_model_pb2.py
- linear_model_pb2.pyi
- preprocessing_meta_pb2.py
- preprocessing_meta_pb2.pyi
- sgb_model_pb2.py
- sgb_model_pb2.pyi
- __init__.py
- __init__.py
- biclassification_eval_core.py
- metrics.py
- prediction_bias_core.py
- psi_core.py
- README.md
- utils.py
- __init__.py
- biclassification_eval.py
- groupby_v.py
- prediction_bias_eval.py
- psi_eval.py
- regression_eval.py
- score_card.py
- ss_pearsonr_v.py
- ss_pvalue_v.py
- ss_vif_v.py
- table_statistics.py
- united_stats.py
- __init__.py
- _utils.py
- dataframe.py
- ndarray.py
- __init__.py
- datasets.py
- __init__.py
- blocked_ops.py
- cloudpickle.py
- communicate.py
- consistent_ops.py
- errors.py
- hash.py
- io.py
- logging.py
- ndarray_bigint.py
- ndarray_encoding.py
- progress.py
- random.py
- secure_pickle.py
- sigmoid.py
- testing.py
- __init__.py
- cli.py
- version.py
- __init__.py
- test_i18n.py
- test_io.py
- test_progresser.py
- test_utils.py
- bin_onehot_glm_model.tar.gz
- features_in_one_party_glm_model.tar.gz
- bin_onehot_glm_model.tar.gz
- features_in_one_party_glm_model.tar.gz
- __init__.py
- test_model_export.py
- test_serving_model_inferencer.py
- test_sgb_export.py
- util.py
- __init__.py
- test_data_sink.py
- test_data_source.py
- test_identity.py
- test_io_sgb.py
- test_io_ss_glm.py
- test_io_vert_bin.py
- test_io_woe_bin.py
- test_io_woe_bin_single_label.py
- __init__.py
- test_biclassification_eval.py
- test_gaussian_naive_bayes.py
- test_gaussian_process_classifer.py
- test_kmeans.py
- test_knn_classifer.py
- test_prediction_bias_eval.py
- test_regression_eval.py
- test_sgb.py
- test_ss_glm.py
- test_ss_pvalue.py
- test_ss_sgd.py
- test_ss_xgb.py
- __init__.py
- test_score_card_transformer.py
- __init__.py
- test_vert_binning.py
- test_woe_binning.py
- __init__.py
- test_psi.py
- test_psi_tp.py
- test_train_test_split.py
- test_ub_psi.py
- test_union.py
- __init__.py
- test_condition_filter.py
- test_expr_condition_filter.py
- test_feature_filter.py
- test_sample.py
- __init__.py
- test_binary_op.py
- test_case_when.py
- test_cast.py
- test_feature_calculate.py
- test_fillna.py
- test_onehot_encode.py
- test_sql_processor.py
- __init__.py
- __init__.py
- test_groupby_statistics.py
- test_ss_pearsonr.py
- test_ss_vif.py
- test_stats_psi.py
- test_table_statistics.py
- __init__.py
- aci_pipeline.py
- __init__.py
- test_hdataframe.py
- test_io.py
- __init__.py
- test_mixdataframe.py
- __init__.py
- test_io.py
- test_vdataframe.py
- test_vdataframe_polars.py
- __init__.py
- test_ndarray.py
- test_partition.py
- __init__.py
- test_base.py
- test_driver.py
- test_driver_brpc.py
- test_heu.py
- test_heu_to_spu.py
- test_proxy.py
- test_psi.py
- test_pyu.py
- test_spu.py
- test_spu_kernel.py
- test_teeu.py
- test_kuscia.py
- __init__.py
- test_complete_model.py
- test_vert_sgb.py
- test_vert_sgb_large.py
- test_vert_sgb_with_xgb.py
- __init__.py
- test_vert_ss_xgb.py
- __init__.py
- __init__.py
- test_kmeans.py
- __init__.py
- test_gpc.py
- __init__.py
- test_fl_lr_mix.py
- test_fl_lr_v.py
- test_hess_lr.py
- test_ss_glm.py
- test_ss_glm_large.py
- test_ss_lr.py
- __init__.py
- test_gnb.py
- __init__.py
- test_knn.py
- __init__.py
- __init__.py
- test_ordinal_encoder.py
- test_standard_scaler.py
- test_vert_binning.py
- test_vert_substitution.py
- __init__.py
- test_aggregator_base.py
- test_ldp_aggregator.py
- test_lldp_aggregator.py
- test_qpldp_aggregator.py
- test_secure_aggregator.py
- test_spu_aggregator.py
- __init__.py
- test_comparator_base.py
- test_plain_comparator.py
- test_spu_comparator.py
- __init__.py
- __init__.py
- test_biclassification_eval.py
- test_groupby_v.py
- test_prediction_bias.py
- test_psi.py
- test_score_card.py
- test_ss_pearsonr_v.py
- test_ss_pvalue.py
- test_ss_vif_v.py
- test_table_statistics.py
- test_united_stats.py
- __init__.py
- test_dataframe.py
- test_ndarray.py
- __init__.py
- auth_manager.py
- test_bigint_ndarray.py
- test_cloudpickle.py
- test_secure_pickle.py
- test_sigmoid.py
- test_testing.py
- __init__.py
- conftest.py
- sf_config.py
- sf_fixtures.py
- sf_services.py
- .coveragerc
- .gitattributes
- .gitignore
- .gitmodules
- .licenserc.yaml
- .pre-commit-config.yaml
- .pylintrc
- .readthedocs.yaml
- CHANGELOG.md
- CONTRIBUTING.md
- LEGAL.md
- LICENSE
- pdm_build.py
- pyproject.toml
- pytest.ini
- README.md
- README.zh-CN.md
- REPO_LAYOUT.md
- SECURITY.md
- uv.lock
- VERSIONING.md
- WORKSPACE
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/secretflow/secretflow
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd secretflow
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
docker build -f docker/dev/Dockerfile -t secretflow .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 secretflow
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Python
쉬움사전 준비물
pip install -r docker/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
jupyter notebook
브라우저에서 노트북(.ipynb) 파일들을 열람하고 실행할 수 있는 Jupyter 화면을 켭니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
// repository documentation
Was this content helpful?
(0 ratings)
