Algorithms ========== The **hana_ml.algorithms.pal** package is consisted of many algorithms, when grouping by categories, these algorithms could be listed as follows: .. automodule:: hana_ml.algorithms.pal :no-members: :no-inherited-members: .. _PAL Base-label: .. currentmodule:: hana_ml.algorithms.pal PAL Base -------- .. autosummary:: :toctree: algorithms/ :template: palbase.rst pal_base.PALBase .. _Auto ML-label: Auto ML ------- .. autosummary:: :toctree: algorithms/ :template: class.rst auto_ml.AutomaticClassification auto_ml.AutomaticRegression auto_ml.AutomaticTimeSeries auto_ml.Preprocessing massive_auto_ml.MassiveAutomaticClassification massive_auto_ml.MassiveAutomaticRegression massive_auto_ml.MassiveAutomaticTimeSeries .. autosummary:: :toctree: algorithms/ :template: function.rst auto_ml.get_pipeline_info .. _Unified Interface-label: .. currentmodule:: hana_ml.algorithms.pal Unified Interface ----------------- .. autosummary:: :toctree: algorithms/ :template: class.rst unified_classification.UnifiedClassification unified_regression.UnifiedRegression unified_clustering.UnifiedClustering unified_exponentialsmoothing.UnifiedExponentialSmoothing unified_timeseries.UnifiedTimeSeries unified_timeseries.MassiveUnifiedTimeSeries .. autosummary:: :toctree: algorithms/ :template: function.rst unified_classification.json2tab_for_reason_code .. _Clustering-label: Clustering ---------- .. autosummary:: :toctree: algorithms/ :template: class.rst clustering.AffinityPropagation clustering.AgglomerateHierarchicalClustering clustering.DBSCAN clustering.GeometryDBSCAN clustering.HDBSCAN clustering.KMeans clustering.KMedians clustering.KMedoids clustering.SpectralClustering clustering.ConstrainedClustering clustering.KMeansOutlier mixture.GaussianMixture som.SOM .. autosummary:: :toctree: algorithms/ :template: function.rst clustering.SlightSilhouette clustering.outlier_detection_kmeans .. _Classification-label: Classification -------------- .. autosummary:: :toctree: algorithms/ :template: class.rst discriminant_analysis.LinearDiscriminantAnalysis linear_model.LogisticRegression linear_model.OnlineMultiLogisticRegression naive_bayes.NaiveBayes neighbors.KNNClassifier neural_network.MLPClassifier svm.SVC svm.OneClassSVM trees.DecisionTreeClassifier trees.RDTClassifier trees.HybridGradientBoostingClassifier neural_network.MLPMultiTaskClassifier .. _Regression-label: Regression ---------- .. autosummary:: :toctree: algorithms/ :template: class.rst linear_model.LinearRegression linear_model.OnlineLinearRegression neighbors.KNNRegressor neural_network.MLPRegressor regression.PolynomialRegression regression.GLM regression.ExponentialRegression regression.BiVariateGeometricRegression regression.BiVariateNaturalLogarithmicRegression regression.CoxProportionalHazardModel svm.SVR trees.DecisionTreeRegressor trees.RDTRegressor trees.HybridGradientBoostingRegressor neural_network.MLPMultiTaskRegressor .. _Preprocessing-label: Preprocessing ------------- .. autosummary:: :toctree: algorithms/ :template: class.rst preprocessing.FeatureNormalizer preprocessing.FeatureSelection preprocessing.IsolationForest preprocessing.KBinsDiscretizer preprocessing.Imputer preprocessing.Discretize preprocessing.MDS preprocessing.SMOTE preprocessing.SMOTETomek preprocessing.TomekLinks preprocessing.Sampling preprocessing.ImputeTS preprocessing.PowerTransform preprocessing.QuantileTransform preprocessing.OutlierDetectionRegression preprocessing.FeatureAgglomeration mlp_imputer.MLPMultiTaskImputer decomposition.PCA decomposition.CATPCA decomposition.UMAP .. autosummary:: :toctree: algorithms/ :template: function.rst partition.train_test_val_split preprocessing.variance_test preprocessing.massive_variance_test decomposition.trustworthiness .. _TimeSeries-label: Time Series ----------- Unified Time Series ~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: class.rst unified_timeseries.UnifiedTimeSeries unified_timeseries.MassiveUnifiedTimeSeries Automatic Time Series ~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: class.rst auto_ml.AutomaticTimeSeries massive_auto_ml.MassiveAutomaticTimeSeries Additive Model Time Series Analysis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.additive_model_forecast.AdditiveModelForecast ARIMA Family ~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.arima.ARIMA tsa.auto_arima.AutoARIMA tsa.vector_arima.VectorARIMA tsa.online_algorithms.OnlineARIMA Exponential Smoothing Family ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.exponential_smoothing.AutoExponentialSmoothing unified_exponentialsmoothing.UnifiedExponentialSmoothing tsa.exponential_smoothing.SingleExponentialSmoothing tsa.exponential_smoothing.DoubleExponentialSmoothing tsa.exponential_smoothing.TripleExponentialSmoothing tsa.exponential_smoothing.BrownExponentialSmoothing Intermittent Demand Forecasting ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.exponential_smoothing.Croston tsa.exponential_smoothing.CrostonTSB Deep Learning ~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.lstm.LSTM tsa.ltsf.LTSF tsa.rnn.GRUAttention .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.bsts.BSTS tsa.hierarchical_forecast.Hierarchical_Forecast tsa.lr_seasonal_adjust.LR_seasonal_adjust Time Series Explainability ~~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: function.rst tsa.permutation_importance.permutation_importance Time Series Classification ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.classification.TimeSeriesClassification Test and Diagnostics ~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: function.rst tsa.accuracy_measure.accuracy_measure tsa.accuracy_measure.massive_accuracy_measure tsa.stationarity_test.stationarity_test tsa.seasonal_decompose.seasonal_decompose tsa.trend_test.trend_test tsa.white_noise_test.white_noise_test tsa.correlation_function.correlation Change and Anomaly Detection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.changepoint.CPD tsa.changepoint.BCPD tsa.changepoint.OnlineBCPD tsa.outlier_detection.OutlierDetectionTS Signal Processing and Spectral Analysis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: function.rst tsa.fft.fft tsa.periodogram.periodogram tsa.wavelet.wavedec tsa.wavelet.waverec tsa.wavelet.wpdec tsa.wavelet.wprec .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.wavelet.DWT tsa.fft.FFT Distance and alignment ~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: :toctree: algorithms/ :template: function.rst tsa.dtw.dtw tsa.fast_dtw.fast_dtw .. autosummary:: :toctree: algorithms/ :template: class.rst tsa.garch.GARCH .. autosummary:: :toctree: algorithms/ :template: function.rst tsa.hull_white.hull_white_simulate .. Statistics Section-label: Statistics ---------- .. autosummary:: :toctree: algorithms/ :template: function.rst random.bernoulli random.beta random.binomial random.cauchy random.chi_squared random.exponential random.gumbel random.f random.gamma random.geometric random.lognormal random.negative_binomial random.normal random.pert random.poisson random.student_t random.uniform random.weibull random.multinomial random.mcmc stats.chi_squared_goodness_of_fit stats.chi_squared_independence stats.ttest_1samp stats.ttest_ind stats.ttest_paired stats.f_oneway stats.f_oneway_repeated stats.univariate_analysis stats.covariance_matrix stats.pearsonr_matrix stats.iqr stats.massive_iqr stats.wilcoxon stats.median_test_1samp stats.grubbs_test stats.entropy stats.condition_index stats.cdf stats.ftest_equal_var stats.factor_analysis stats.kaplan_meier_survival_analysis stats.quantile stats.distribution_fit stats.ks_test stats.interval_quality stats.massive_interval_quality stats.benford_analysis stats.pairwise_distances stats.online_univariate_analysis stats.get_approximated_weibull_location_parameter .. autosummary:: :toctree: algorithms/ :template: class.rst diffusion_process.DiffusionProcess kernel_density.KDE .. _Association-label: Association ----------- .. autosummary:: :toctree: algorithms/ :template: class.rst association.Apriori association.AprioriLite association.FPGrowth association.KORD association.SPM .. Recommender-label: Recommender System ------------------ .. autosummary:: :toctree: algorithms/ :template: class.rst recommender.ALS recommender.FRM recommender.FFMClassifier recommender.FFMRegressor recommender.FFMRanker recommender.MLPRecommender .. Social Network Analysis-label: Social Network Analysis ----------------------- .. autosummary:: :toctree: algorithms/ :template: class.rst linkpred.LinkPrediction .. autosummary:: :toctree: algorithms/ :template: function.rst pagerank.pagerank .. Ranking-label: Ranking ------- .. autosummary:: :toctree: algorithms/ :template: class.rst svm.SVRanking .. Msicellaneous-label: Miscellaneous ------------- .. autosummary:: :toctree: algorithms/ :template: function.rst abc_analysis.abc_analysis wst.weighted_score_table model_cards.create_model_card model_cards.parse_model_card dataset_cards.create_dataset_card dataset_cards.parse_dataset_card feature_tool.generate_feature .. autosummary:: :toctree: algorithms/ :template: class.rst tsne.TSNE fair_ml.FairMLClassification fair_ml.FairMLRegression outlier_profiling.OutlierProfiling .. Metrics-label: Metrics ------- .. autosummary:: :toctree: algorithms/ :template: function.rst metrics.accuracy_score metrics.auc metrics.confusion_matrix metrics.multiclass_auc metrics.r2_score metrics.binary_classification_debriefing metrics.rmse metrics.mae metrics.regression_score .. Model and Pipeline-label: Model and Pipeline ------------------ .. autosummary:: :toctree: algorithms/ :template: class.rst model_selection.ParamSearchCV model_selection.GridSearchCV model_selection.RandomSearchCV massive_pipeline.MassivePipeline .. autosummary:: :toctree: algorithms/ :template: pipeline.rst pipeline.Pipeline Text Processing --------------- .. autosummary:: :toctree: algorithms/ :template: class.rst crf.CRF decomposition.LatentDirichletAllocation decomposition.VectorPCA For other text processing methods like text mining, please see :ref:`text mining module` for more details. PAL Scheduler ------------- .. autosummary:: :toctree: algorithms/ :template: class.rst scheduler.ScheduledExecution Massive Interface ----------------- .. autosummary:: :toctree: algorithms/ :template: class.rst massive_auto_ml.MassiveAutomaticClassification massive_auto_ml.MassiveAutomaticRegression massive_auto_ml.MassiveAutomaticTimeSeries unified_classification.UnifiedClassification unified_regression.UnifiedRegression unified_clustering.UnifiedClustering unified_exponentialsmoothing.UnifiedExponentialSmoothing unified_timeseries.MassiveUnifiedTimeSeries tsa.additive_model_forecast.AdditiveModelForecast tsa.arima.ARIMA tsa.auto_arima.AutoARIMA tsa.exponential_smoothing.Croston tsa.exponential_smoothing.CrostonTSB tsa.fft.fft tsa.changepoint.OnlineBCPD tsa.outlier_detection.OutlierDetectionTS tsa.accuracy_measure.accuracy_measure preprocessing.IsolationForest