MCPcopy Create free account

hub / github.com/modAL-python/modAL / functions

Functions285 in github.com/modAL-python/modAL

↓ 1 callersFunctionlibact_EER
(X, y, n_queries)
examples/runtime_comparison.py:58
↓ 1 callersFunctionlibact_QBC
(X, y, n_queries)
examples/runtime_comparison.py:76
↓ 1 callersFunctionlibact_uncertainty
(X, y, n_queries)
examples/runtime_comparison.py:40
↓ 1 callersFunctionmodAL_EER
(X, y, n_queries)
examples/runtime_comparison.py:122
↓ 1 callersFunctionmodAL_QBC
(X, y, n_queries)
examples/runtime_comparison.py:108
↓ 1 callersFunctionmodAL_uncertainty
(X, y, n_queries)
examples/runtime_comparison.py:98
↓ 1 callersFunctiono
(s,a)
docs/source/_themes/sphinx_rtd_theme/static/js/theme.js:3
↓ 1 callersFunctionoptimizer_EI
Expected improvement acquisition function for Bayesian optimization. Args: optimizer: The :class:`~modAL.models.BayesianOptimizer` o
modAL/acquisition.py:56
↓ 1 callersFunctionoptimizer_PI
Probability of improvement acquisition function for Bayesian optimization. Args: optimizer: The :class:`~modAL.models.BayesianOptimi
modAL/acquisition.py:35
↓ 1 callersFunctionoptimizer_UCB
Upper confidence bound acquisition function for Bayesian optimization. Args: optimizer: The :class:`~modAL.models.BayesianOptimizer`
modAL/acquisition.py:77
↓ 1 callersFunctionp
(a,b)
docs/source/_themes/sphinx_rtd_theme/static/js/modernizr.min.js:4
↓ 1 callersFunctionq
(a)
docs/source/_themes/sphinx_rtd_theme/static/js/modernizr.min.js:4
↓ 1 callersFunctionquery_strategy
(classifier: BaseEstimator, X: modALinput)
modAL/utils/combination.py:78
↓ 1 callersFunctionranked_batch
Query our top :n_instances: to request for labeling. Refer to Cardoso et al.'s "Ranked batch-mode active learning": https://www.scie
modAL/batch.py:121
↓ 1 callersFunctionselect_cold_start_instance
Define what to do if our batch-mode sampling doesn't have any labeled data -- a cold start. If our ranked batch sampling algorithm doesn't h
modAL/batch.py:17
↓ 1 callersFunctionselect_instance
Core iteration strategy for selecting another record from our unlabeled records. Given a set of labeled records (X_training) and unlabeled r
modAL/batch.py:51
↓ 1 callersFunctionsetup
(app)
docs/source/_themes/sphinx_rtd_theme/__init__.py:18
↓ 1 callersFunctionsim
(*args, **kwargs)
modAL/density.py:23
↓ 1 callersMethodteach
Trains the predictor with the passed data (warm_start decides if params are resetted or not). Args: X: The new samples
modAL/models/learners.py:231
↓ 1 callersMethodvote
(self, X: modALinput)
modAL/models/base.py:365
↓ 1 callersFunctionvote_entropy
Calculates the vote entropy for the Committee. First it computes the predictions of X for each learner in the Committee, then calculates the
modAL/disagreement.py:16
FunctionGP_regression_std
(regressor, X)
examples/active_regression.py:13
FunctionSVM_binary_minimum
SVM binary minimum multilabel active learning strategy. For details see the paper Klaus Brinker, On Active Learning in Multi-label Classifica
modAL/multilabel.py:44
Method__call__
(self, *args)
tests/mock.py:11
Method__call__
(self, *args, **kwargs)
modAL/cluster.py:14
Method__init__
(self, return_val)
tests/mock.py:8
Method__init__
( self, predict_proba_return=None, predict_return=None, score_return=None, classes_=No
tests/mock.py:19
Method__init__
( self, predictor=None, query_strategy=None, predict_proba_return=None, calculate_util
tests/mock.py:55
Method__init__
( self, n_learners=1, classes_=None, fitted=True, calculate_disagreement_return=None,
tests/mock.py:85
Method__init__
(self,)
tests/core_tests.py:723
Method__init__
(self, n_classes=2)
tests/example_tests/multidimensional_data.py:10
Method__init__
(self)
modAL/cluster.py:11
Method__init__
(self, estimator: BaseEstimator, query_strategy: Callable,
modAL/models/base.py:43
Method__init__
(self, learner_list: List[BaseLearner], query_strategy: Callable, on_transformed: bool = False)
modAL/models/base.py:219
Method__init__
(self, estimator: BaseEstimator, query_strategy: Callable = uncertainty_samp
modAL/models/learners.py:71
Method__init__
(self, estimator: BaseEstimator, query_strategy: Callable = uncertainty_samp
modAL/models/learners.py:204
Method__init__
(self, estimator: BaseEstimator, query_strategy: Callable = max_EI,
modAL/models/learners.py:372
Method__init__
(self, learner_list: List[ActiveLearner], query_strategy: Callable = max_std_sampling, on_tra
modAL/models/learners.py:681
Method__init__
(self,)
examples/pytorch_integration.py:19
Method__init__
(self,)
examples/pytorch_mc_dropout.py:19
Method__iter__
(self)
tests/mock.py:108
Method__iter__
(self)
modAL/models/base.py:228
Method__len__
(self)
tests/mock.py:105
Method__len__
(self)
modAL/models/base.py:232
Method_calculate_disagreement
(self, *args, **kwargs)
tests/mock.py:112
Function_proba_margin
Calculates the margin of the prediction probabilities. Args: proba: Prediction probabilities. Returns: Margin of the pr
modAL/uncertainty.py:29
Functionavg_confidence
AvgConfidence query strategy for multilabel classification. For more details on this query strategy, see Esuli and Sebastiani., Active L
modAL/multilabel.py:173
Functionavg_score
AvgScore query strategy for multilabel classification. For more details on this query strategy, see Esuli and Sebastiani., Active Learni
modAL/multilabel.py:235
Methodbatch_size
Returns the batch size of a single forward pass.
modAL/models/learners.py:278
Methodcompute_errors
(self)
modAL/cluster.py:17
Functionconsensus_entropy_sampling
Consensus entropy sampling strategy. Args: committee: The committee for which the labels are to be queried. X: The pool of s
modAL/disagreement.py:130
Functioncreate_keras_model
This function compiles and returns a Keras model. Should be passed to KerasClassifier in the Keras scikit-learn API.
examples/keras_integration.py:16
Functioncreate_keras_model
()
examples/deep_bayesian_active_learning.py:13
Functioncustom_query_strategy
(classifier, X, n_instances=1)
tests/example_tests/custom_query_strategies.py:41
Functioncustom_query_strategy
(classifier, X, n_instances=1)
examples/custom_query_strategies.py:94
Methodcustom_query_strategy
(classifier, X)
tests/core_tests.py:1207
Functiondefault_logits_adaptor
(input_tensor: torch.tensor, samples: modALinput)
modAL/dropout.py:14
Methoddummy_function
(X_in)
tests/core_tests.py:102
Functionentropy_sampling
Entropy sampling query strategy. Selects the instances where the class probabilities have the largest entropy. Args: classifier:
modAL/uncertainty.py:186
Functionexpected_error_reduction
Expected error reduction query strategy. References: Roy and McCallum, 2001 (http://groups.csail.mit.edu/rrg/papers/icml01.pdf)
modAL/expected_error.py:18
Functionf
()
docs/source/_themes/sphinx_rtd_theme/static/js/modernizr.min.js:4
Methodfit
(self, *args, **kwargs)
tests/mock.py:68
Methodfit
Fits every learner to a subset sampled with replacement from X. Calling this method makes the learner forget the data it has seen up
modAL/models/base.py:271
Methodfit
Interface for the fit method of the predictor. Fits the predictor to the supplied data. Args: X: The samples to be fitte
modAL/models/learners.py:215
Methodforward
(self, x)
tests/core_tests.py:740
Methodforward
(self, x)
examples/pytorch_integration.py:36
Methodforward
(self, x)
examples/pytorch_mc_dropout.py:36
Functionget_html_theme_path
Return list of HTML theme paths.
docs/source/_themes/sphinx_rtd_theme/__init__.py:12
Methodlogits_adaptor
(input_tensor, data)
tests/core_tests.py:839
Functionmake_query_strategy
Takes the given utility measure and selector functions and makes a query strategy by combining them. Args: utility_measure: Utility
modAL/utils/combination.py:64
Functionmargin_sampling
Margin sampling query strategy. Selects the instances where the difference between the first most likely and second most likely classes are t
modAL/uncertainty.py:160
Functionmax_EI
Maximum EI query strategy. Selects the instance with highest expected improvement. Args: optimizer: The :class:`~modAL.models.Bayesi
modAL/acquisition.py:125
Functionmax_PI
Maximum PI query strategy. Selects the instance with highest probability of improvement. Args: optimizer: The :class:`~modAL.models.
modAL/acquisition.py:105
Functionmax_UCB
Maximum UCB query strategy. Selects the instance with highest upper confidence bound. Args: optimizer: The :class:`~modAL.models.Bay
modAL/acquisition.py:145
Functionmax_disagreement_sampling
Maximum disagreement sampling strategy. Args: committee: The committee for which the labels are to be queried. X: The pool o
modAL/disagreement.py:158
Functionmax_entropy
(learner, X, n_instances=1, T=100)
examples/deep_bayesian_active_learning.py:57
Functionmax_entropy
(active_learner, X, K=16, N=16)
examples/cost_effective_active_learning.py:48
Functionmax_loss
Max Loss query strategy for SVM multilabel classification. For more details on this query strategy, see Li et al., Multilabel SVM active
modAL/multilabel.py:75
Functionmax_score
MaxScore query strategy for multilabel classification. For more details on this query strategy, see Esuli and Sebastiani., Active Learni
modAL/multilabel.py:203
Functionmax_std_sampling
Regressor standard deviation sampling strategy. Args: regressor: The regressor for which the labels are to be queried. X: Th
modAL/disagreement.py:186
Functionmc_dropout_bald
Mc-Dropout bald query strategy. Returns the indexes of the instances with the largest BALD (Bayesian Active Learning by Disagreement
modAL/dropout.py:19
Functionmc_dropout_max_entropy
Mc-Dropout maximum entropy query strategy. Returns the indexes of the instances with the largest entropy of the per class calculated
modAL/dropout.py:120
Functionmc_dropout_max_variationRatios
Mc-Dropout maximum variation ratios query strategy. Returns the indexes of the instances with the largest variation ratios over mult
modAL/dropout.py:168
Functionmc_dropout_mean_st
Mc-Dropout mean standard deviation query strategy. Returns the indexes of the instances with the largest mean of the per class calcu
modAL/dropout.py:71
Functionmean_max_loss
Mean Max Loss query strategy for SVM multilabel classification. For more details on this query strategy, see Li et al., Multilabel SVM a
modAL/multilabel.py:111
Functionmin_confidence
MinConfidence query strategy for multilabel classification. For more details on this query strategy, see Esuli and Sebastiani., Active L
modAL/multilabel.py:143
Methodnum_epochs
Returns the number of epochs of a single fit cycle.
modAL/models/learners.py:257
Functiono
(a,c)
docs/source/_themes/sphinx_rtd_theme/static/js/modernizr.min.js:4
Methodpredict
(self, *args, **kwargs)
tests/mock.py:71
Methodpredict
(self, *args, **kwargs)
tests/mock.py:115
Methodpredict
(self, X: modALinput)
modAL/models/base.py:361
Methodpredict_proba
(self, *args, **kwargs)
tests/mock.py:74
Methodpredict_proba
(self, *args, **kwargs)
tests/mock.py:121
Functionproduct_function
(*args, **kwargs)
modAL/utils/combination.py:57
Methodquery
Finds the n_instances most informative point in the data provided by calling the query_strategy function. Args: X_pool:
modAL/models/base.py:297
Functionrandom_array
(shape, n_arrays)
tests/core_tests.py:44
Functionrandom_sampling
(classsifier, X)
examples/shape_learning.py:60
Methodscore
(self, *args, **kwargs)
tests/mock.py:77
Methodscore
Interface for the score method of the predictor. Args: X: The samples for which prediction accuracy is to be calculated.
modAL/models/base.py:191
Methodscore
Returns the mean accuracy on the given test data and labels. Todo: Why accuracy? Args: X: The samples
modAL/models/learners.py:567
← previousnext →101–200 of 285, ranked by callers