modAL
modAL copied to clipboard
A modular active learning framework for Python
Hello! I'm working to classify a set of video transcripts (auto-generated by AWS), based on their content. I have a set of labels to assign to my yet unlabelled data....
This is a PR that implements a new batch active learning query strategy (as mentioned in #119). [Diverse Mini-batch Active Learning](https://arxiv.org/abs/1901.05954) attempts to take into account both informativeness and diversity...
This simple example: ``` from sklearn.linear_model import LogisticRegression from modAL.models import ActiveLearner X = pd.DataFrame([[1],[2],[3]]) y = pd.Series([True, False, False]) my_learner = ActiveLearner(estimator=LogisticRegression(), X_training=X, y_training=y) df = pd.concat([X]*2000) query_idx, _...
After initializing a keras model: ``` ruby def build_keras_regressor_model(): model = keras.Sequential([ layers.Dense(64, activation='relu', input_shape=[len(train_dataset.keys())]), layers.Dense(64, activation='relu'), layers.Dense(1) ]) optimizer = tf.keras.optimizers.RMSprop(0.001) model.compile(loss='mse', optimizer=optimizer, metrics=['mae', 'mse']) return model ``` And...
Dear people from modAL, Thanks for this great library ! Definitely a great step forward for active learning. I wondered if you would be interested to make a contribution to...
recently I'm trying to run the example code for Keras(''keras_integration.py''), but the actual amount of training data is far less than the amount of input data I set. For example,...
From here: https://stats.stackexchange.com/questions/532170/is-variance-of-individual-points-the-best-strategy-for-chosing-points-in-active In active learning with estimators like Gaussian Processes, we typically look at the test-test covariance matrix, and choose for the next round of observation, the points who...
UserWarning: "model.predict_proba()` is deprecated and will be removed after 2021-01-01. Please use `model.predict()` instead. warnings.warn('`model.predict_proba()` is deprecated and " Please dont forget to change to model predict