seraplot 2.3.75__tar.gz → 2.3.76__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {seraplot-2.3.75 → seraplot-2.3.76}/Cargo.lock +1 -1
- {seraplot-2.3.75 → seraplot-2.3.76}/Cargo.toml +1 -1
- {seraplot-2.3.75 → seraplot-2.3.76}/PKG-INFO +1 -1
- {seraplot-2.3.75 → seraplot-2.3.76}/pyproject.toml +1 -1
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/commands/native.rs +12 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/commands/registry.rs +2 -0
- seraplot-2.3.76/test_universal_ml.js +58 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/.gitignore +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/05--Diabetes_SeraPlot.ipynb +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/07--OpenFoodFacts_SeraPlot_Benchmark.ipynb +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/README.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/TEST_1M_Battle.ipynb +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_all.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_bigdata.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_full.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_issues.json +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_knn_sgd.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_perf.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_quick.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_quick2.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_scale.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_seraplot.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_sklearn.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_svc.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_svc2.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/bench_test.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/benchmark_gridsearch.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/benchmark_gridsearch2.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/benchmark_kmeans_heavy.ipynb +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/benchmark_kmeans_openfoodfacts.ipynb +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/benchmark_ml.ipynb +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/benchmark_ml_openfoodfacts.ipynb +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/benchmark_ml_out.ipynb +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/build.log +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/gen_bench_slides.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/2d/1.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/2d/2.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/2d/3.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/2d/4.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/2d/5.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/2d/6.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/2d/7.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/2d/8.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/3d/1.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/3d/2.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/3d/3.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/3d/4.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/3d/5.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/3d/6.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/3d/7.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/3d/8.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/README.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/benchmark/1.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/benchmark/2.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/benchmark/3.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/images/logo.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/kmeans_test.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/python/seraplot/__init__.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/python/seraplot/matplotlib.py +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/python/seraplot/seraplot.cp311-win_amd64.pyd.old +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/results_seraplot.json +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/results_sklearn.json +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/.github/workflows/mdbook.yml +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/README.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/asset/SVG World Map with labels.svg +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/asset/logo.png +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/asset/world.svg +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/builder_template.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/chart_types.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/commands/charts.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/commands/docs.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/commands/ml.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/commands/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/export_builder.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/fast_export_c.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/fast_render.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/memory_pool.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/registry_macro.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/unified_builder.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/unified_config.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/arena_alloc.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/bitset.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/compact_state.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/data_processor.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/image_processor.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/lazy_builders.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/memory_pool.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/simd_ops.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/bindings/utils/state_export.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/book.toml +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/core/builders.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/core/math.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/core/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/data/conversion.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/data/index.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/data/loader.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/data/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/data/processor.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/SUMMARY.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/api/index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/area.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/bar.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/boxplot.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/bubble.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/bullet.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/candlestick.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/donut.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/dumbbell.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/funnel.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/gauge.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/grid.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/grouped-bar.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/hbar.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/heatmap.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/histogram-overlay.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/histogram.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/kde.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/line.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/lollipop.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/multiline.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/parallel.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/pie.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/radar.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/ridgeline.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/scatter.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/slideshow.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/slope.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/stacked-bar.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/sunburst.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/treemap.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/violin.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/waterfall.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/2d/wordcloud.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/bar3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/bubble3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/candlestick3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/dumbbell3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/funnel3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/globe3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/heatmap3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/kde3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/line3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/lollipop3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/pie3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/radar3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/ridgeline3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/scatter3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/stacked-bar3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/sunburst3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/3d/violin3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/map/bubble-map.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/map/choropleth.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/charts/map/index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/config/auto-display.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/config/background.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/config/hover.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/config/palette.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/getting-started/chart-methods.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/getting-started/chart-object.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/getting-started/installation.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/getting-started/quickstart.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/introduction.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/adaboost.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/bayes-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/clustering-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/dbscan-class.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/dbscan.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/dbscan3d.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/decision-tree.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/decomposition-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/decomposition.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/elastic-net.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/evaluation-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/gradient-boosting.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/grid-search.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/kmeans-class.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/kmeans.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/knn.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/lasso.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/linear-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/linear-regression.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/logistic-regression.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/metrics.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/naive-bayes.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/neighbors-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/preprocessing-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/preprocessing.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/random-forest.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/ridge.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/selection-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/sgd.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/svm-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/svm.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/train-test-split.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/ml/tree-index.md +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/area.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/bar.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/bar3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/bench-matplotlib.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/bench-plotly.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/bench-seraplot.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/boxplot.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/bubble-map.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/bubble.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/bubble3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/bullet.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/candlestick.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/candlestick3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/choropleth.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/dbscan-class.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/dbscan.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/dbscan3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/donut.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/dumbbell.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/dumbbell3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/funnel.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/funnel3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/gauge.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/globe3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/grid.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/grouped-bar.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/hbar.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/heatmap.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/heatmap3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/histogram-overlay.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/histogram.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/kde.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/kde3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/line.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/line3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/lollipop.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/lollipop3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/multiline.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/parallel.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/pie.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/pie3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/radar.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/radar3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/ridgeline.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/ridgeline3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/scatter.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/scatter3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/slideshow.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/slope.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/stacked-bar.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/stacked-bar3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/sunburst.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/sunburst3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/treemap.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/violin.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/violin3d.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/waterfall.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/previews/wordcloud.html +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/theme/custom.css +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/docs/theme/lang-switcher.js +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/html/assets.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/html/fast_builders.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/html/fast_exporter.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/html/hover.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/html/html_export.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/html/html_template.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/html/js_3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/html/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/lib.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/cache.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/decomposition/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/decomposition/pca.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/linalg.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/linear/elastic_net.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/linear/lasso.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/linear/logistic.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/linear/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/linear/ols.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/linear/ridge.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/linear/sgd.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/metrics/classification.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/metrics/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/metrics/regression.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/model_selection/cross_val.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/model_selection/grid_search.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/model_selection/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/model_selection/split.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/naive_bayes/bernoulli.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/naive_bayes/gaussian.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/naive_bayes/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/naive_bayes/multinomial.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/neighbors/knn.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/neighbors/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/preprocessing/encoders.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/preprocessing/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/preprocessing/scalers.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/svm/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/svm/svm.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/tree/adaboost.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/tree/decision_tree.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/tree/decision_tree_backup.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/tree/gradient_boosting.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/tree/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/ml/tree/random_forest.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/camera.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/canvas.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/containers_3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/controller/chart_controller.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/controller/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/controller/plot_3d_controller.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/_3d/bar_3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/_3d/line_3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/_3d/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/_3d/plot_3d_types.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/_3d/scatter_3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/bar.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/chart.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/kmeans.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/line.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/scatter.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/default/svg.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/generic.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/_3d/globe.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/_3d/globe_html.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/_3d/globe_types.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/_3d/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/bubble_map.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/chart.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/choropleth.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/svg_parser.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/map/world_data.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/projection.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/renderers.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/scale_renderer.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/seaborn/_3d/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/seaborn/_3d/plot_3d_types.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/seaborn/chart.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/seaborn/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/candlestick3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/dumbbell3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/funnel3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/heatmap3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/kde3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/lollipop3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/pie3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/plot_3d_types.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/radar3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/ridgeline3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/stacked_bar3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/sunburst3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/_3d/violin3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/area.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/boxplot.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/bubble.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/bullet.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/candlestick.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/common.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/dumbbell.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/funnel.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/gauge.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/grouped_bar.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/heatmap.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/histogram.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/kde.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/lollipop.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/multiline.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/parallel.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/pie.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/radar.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/ridgeline.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/slope.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/sunburst.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/treemap.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/violin.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/waterfall.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/plot/statistical/wordcloud.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/cache.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/chart.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/gui.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/hybrid.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/manager/button_manager.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/manager/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/render/advanced_render.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/render/fast_render_gui.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/render/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/render/pipeline.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/render/viewer_3d.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/render/wiki_viewer.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/utils/image_loader.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/viewer/utils/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/wiki/api.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/wiki/extractor.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/wiki/language.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/wiki/macros.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/wiki/metadata.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/src/wiki/mod.rs +0 -0
- {seraplot-2.3.75 → seraplot-2.3.76}/test_accuracy.py +0 -0
|
@@ -119,6 +119,18 @@ macro_rules! impl_python {
|
|
|
119
119
|
#[cfg(feature = "python")]
|
|
120
120
|
crate::for_each_json_chart_fn!(impl_python);
|
|
121
121
|
|
|
122
|
+
#[cfg(feature = "python")]
|
|
123
|
+
macro_rules! impl_python_json {
|
|
124
|
+
($fn:ident, $_js:literal) => {
|
|
125
|
+
#[pyfunction]
|
|
126
|
+
pub fn $fn(input: &str) -> String {
|
|
127
|
+
crate::bindings::commands::charts::$fn(input)
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
#[cfg(feature = "python")]
|
|
132
|
+
crate::for_each_ml_oneshot_fn!(impl_python_json);
|
|
133
|
+
|
|
122
134
|
#[cfg(feature = "python")]
|
|
123
135
|
#[pyfunction]
|
|
124
136
|
#[pyo3(name = "set_bg", signature = (html, color=None))]
|
|
@@ -9,6 +9,7 @@ use super::native::*;
|
|
|
9
9
|
|
|
10
10
|
use crate::for_each_chart_fn;
|
|
11
11
|
use crate::for_each_chart_class;
|
|
12
|
+
use crate::for_each_ml_oneshot_fn;
|
|
12
13
|
|
|
13
14
|
#[cfg(feature = "python")]
|
|
14
15
|
pub fn register_submodules(py: Python<'_>, m: &PyModule) -> PyResult<()> {
|
|
@@ -23,6 +24,7 @@ pub fn register_submodules(py: Python<'_>, m: &PyModule) -> PyResult<()> {
|
|
|
23
24
|
($fn:ident, $_js:literal) => { m.add_function(wrap_pyfunction!($fn, m)?)?; }
|
|
24
25
|
}
|
|
25
26
|
for_each_chart_fn!(add_fn);
|
|
27
|
+
for_each_ml_oneshot_fn!(add_fn);
|
|
26
28
|
|
|
27
29
|
macro_rules! add_class {
|
|
28
30
|
($cls:ident) => { m.add_class::<$cls>()?; }
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const { execFileSync } = require("child_process");
|
|
3
|
+
const path = require("path");
|
|
4
|
+
|
|
5
|
+
const PY = process.env.SERAPLOT_PY || "C:\\Users\\Quentin\\Desktop\\SeraPlot\\.venv\\Scripts\\python.exe";
|
|
6
|
+
|
|
7
|
+
function call(fnName, payload) {
|
|
8
|
+
const code =
|
|
9
|
+
"import json,sys,seraplot._seraplot as s\n" +
|
|
10
|
+
"fn=getattr(s,'" + fnName + "')\n" +
|
|
11
|
+
"print(fn(sys.stdin.read()))\n";
|
|
12
|
+
const json = JSON.stringify(payload);
|
|
13
|
+
const out = execFileSync(PY, ["-c", code], { input: json, encoding: "utf8" });
|
|
14
|
+
return JSON.parse(out.trim());
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const X_train = [
|
|
18
|
+
[1, 2], [2, 3], [3, 4], [4, 5], [5, 6],
|
|
19
|
+
[1, 1], [2, 2], [3, 3], [4, 4], [5, 5],
|
|
20
|
+
];
|
|
21
|
+
const y_reg = [3, 5, 7, 9, 11, 2, 4, 6, 8, 10];
|
|
22
|
+
const y_cls = [0, 0, 1, 1, 1, 0, 0, 1, 1, 1];
|
|
23
|
+
const X_test = [[6, 7], [3, 3]];
|
|
24
|
+
|
|
25
|
+
const cases = [
|
|
26
|
+
["mlLinearRegression", { x_train: X_train, y_train: y_reg, x_test: X_test, fit_intercept: true }],
|
|
27
|
+
["mlRidge", { x_train: X_train, y_train: y_reg, x_test: X_test, alpha: 0.5 }],
|
|
28
|
+
["mlLasso", { x_train: X_train, y_train: y_reg, x_test: X_test, alpha: 0.1 }],
|
|
29
|
+
["mlElasticNet", { x_train: X_train, y_train: y_reg, x_test: X_test, alpha: 0.1, l1_ratio: 0.5 }],
|
|
30
|
+
["mlLogisticRegression", { x_train: X_train, y_train: y_cls, x_test: X_test, c: 1.0, max_iter: 200 }],
|
|
31
|
+
["mlDecisionTreeClassifier", { x_train: X_train, y_train: y_cls, x_test: X_test, max_depth: 5 }],
|
|
32
|
+
["mlDecisionTreeRegressor", { x_train: X_train, y_train: y_reg, x_test: X_test, max_depth: 5 }],
|
|
33
|
+
["mlRandomForestClassifier", { x_train: X_train, y_train: y_cls, x_test: X_test, n_estimators: 10, max_depth: 5, max_features: "sqrt" }],
|
|
34
|
+
["mlRandomForestRegressor", { x_train: X_train, y_train: y_reg, x_test: X_test, n_estimators: 10, max_depth: 5, max_features: "sqrt" }],
|
|
35
|
+
["mlGradientBoostingClassifier", { x_train: X_train, y_train: y_cls, x_test: X_test, n_estimators: 20, learning_rate: 0.1, max_depth: 3 }],
|
|
36
|
+
["mlGradientBoostingRegressor", { x_train: X_train, y_train: y_reg, x_test: X_test, n_estimators: 20, learning_rate: 0.1, max_depth: 3 }],
|
|
37
|
+
["mlKnnClassifier", { x_train: X_train, y_train: y_cls, x_test: X_test, k: 3, weights: "uniform" }],
|
|
38
|
+
["mlKnnRegressor", { x_train: X_train, y_train: y_reg, x_test: X_test, k: 3, weights: "distance" }],
|
|
39
|
+
["mlKmeansFitPredict", { x: X_train, k: 2, max_iter: 100 }],
|
|
40
|
+
["mlDbscanFitPredict", { x: X_train, eps: 1.5, min_samples: 2 }],
|
|
41
|
+
];
|
|
42
|
+
|
|
43
|
+
let ok = 0, ko = 0;
|
|
44
|
+
for (const [name, payload] of cases) {
|
|
45
|
+
try {
|
|
46
|
+
const r = call(name, payload);
|
|
47
|
+
const pv = r.predictions || r.labels || r;
|
|
48
|
+
const head = Array.isArray(pv) ? pv.slice(0, 5) : pv;
|
|
49
|
+
console.log("[OK] " + name.padEnd(32) + " -> " + JSON.stringify(head));
|
|
50
|
+
ok++;
|
|
51
|
+
} catch (e) {
|
|
52
|
+
console.log("[FAIL] " + name + " -> " + (e.message || e).split("\n")[0]);
|
|
53
|
+
ko++;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
console.log("\n=== " + ok + " ok / " + ko + " ko ===");
|
|
58
|
+
process.exit(ko === 0 ? 0 : 1);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|