Skip to content

Upgrading wandb 0.7 to 0.8

Unknown0.7.3 → 0.8.36

Fetching 37 releases from GitHub…0 / 37
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Adds configparser >=3.8.1, pyyaml >=3.10.

Installs 22 packages in all (was 27).

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: variable callbacks
  • removed: variable join
  • changed: function init(job_type=…, dir=…, config=…, project=…, entity=…, reinit=…, tags=…, group=…, allow_val_change=…, resume=…, force=…, tensorboard=…, name=…, id=…) → function init(job_type=…, dir=…, config=…, project=…, entity=…, reinit=…, tags=…, group=…, allow_val_change=…, resume=…, force=…, tensorboard=…, sync_tensorboard=…, monitor_gym=…, name=…, notes=…, id=…, magic=…, anonymous=…, config_exclude_keys=…, config_include_keys=…, save_code=…)
  • changed: function join() → function join(exit_code=…)
  • added: export Audio
  • added: export Graph
  • added: export Histogram
  • added: export Html
  • added: export Image
  • added: export Molecule
  • added: export Object3D
  • added: export Table
  • added: export Video
  • added: function log(row=…, commit=…, step=…, sync=…, *args, **kwargs)
  • added: function login(anonymous=…, key=…)
  • added: function restore(name, run_path=…, replace=…, root=…)
  • added: function save(glob_str, base_path=…, policy=…)
  • added: function watch(models, criterion=…, log=…, log_freq=…, idx=…)
  • added: variable Api
  • added: variable docker
  • added: variable fastai
  • added: variable gym
  • added: variable jupyter
  • added: variable keras
  • added: variable ray
  • added: variable summary
  • added: variable tensorboard
  • added: variable xgboost
  • removed: class Agent(object)
  • removed: class AgentApi(object)
  • removed: class AgentError(Exception)
  • removed: constructor Agent(api, queue, sweep_id=…)
  • removed: constructor AgentApi(queue)
  • removed: field Agent.KILL_DELAY
  • removed: field Agent.POLL_INTERVAL
  • removed: field Agent.REPORT_INTERVAL
  • removed: function run_agent(sweep_id=…)
  • removed: method Agent.run()
  • removed: method AgentApi.command(command)
  • removed: variable logger
  • removed: class OverwriteFilePolicy(object)
  • removed: method OverwriteFilePolicy.process_chunks(chunks)
  • added: class JsonlFilePolicy(object)
  • added: class SummaryFilePolicy(object)
  • added: constructor JsonlFilePolicy(start_chunk_id=…)
  • added: method FileStreamApi.set_default_file_policy(filename, file_policy)
  • added: method JsonlFilePolicy.process_chunks(chunks)
  • added: method SummaryFilePolicy.process_chunks(chunks)
  • added: variable MAX_LINE_SIZE
  • changed: constructor Api(default_settings=…, load_settings=…, retry_timedelta=…) → constructor Api(default_settings=…, load_settings=…, retry_timedelta=…, environ=…)
  • changed: method Api.register_agent(host, sweep_id=…, project_name=…) → method Api.register_agent(host, sweep_id=…, project_name=…, entity=…)
  • changed: method Api.set_setting(key, value) → method Api.set_setting(key, value, globally=…, persist=…)
  • changed: method Api.upsert_run(id=…, name=…, project=…, host=…, group=…, tags=…, config=…, description=…, entity=…, state=…, repo=…, job_type=…, program_path=…, commit=…, sweep_name=…, summary_metrics=…, num_retries=…) → method Api.upsert_run(id=…, name=…, project=…, host=…, group=…, tags=…, config=…, description=…, entity=…, state=…, display_name=…, notes=…, repo=…, job_type=…, program_path=…, commit=…, sweep_name=…, summary_metrics=…, num_retries=…)
  • changed: method Api.upsert_sweep(config) → method Api.upsert_sweep(config, controller=…, scheduler=…, obj_id=…, project=…, entity=…)
  • added: method Api.check_stop_requested(project_name, entity_name, run_id)
  • added: method Api.clear_setting(key, globally=…, persist=…)
  • added: method Api.create_anonymous_api_key()
  • added: method Api.reauth()
  • added: method Api.relocate()
  • added: method Api.sweep(sweep, specs, project=…, entity=…)
  • added: method Api.sync_spell(run, env=…)
  • removed: field Api.HTTP_TIMEOUT
  • removed: method Run.snake_to_camel(string)
  • changed: class Run(object) → class Run(Attrs)
  • changed: constructor Run(client, username, project, name, attrs=…) → constructor Run(client, entity, project, run_id, attrs=…)
  • changed: constructor Runs(client, username, project, filters=…, order=…, per_page=…) → constructor Runs(client, entity, project, filters=…, order=…, per_page=…)
  • changed: method Run.history(samples=…, pandas=…, stream=…) → method Run.history(samples=…, keys=…, x_axis=…, pandas=…, stream=…)
  • changed: static method Run.create(api, run_id=…, project=…, username=…) → static method Run.create(api, run_id=…, project=…, entity=…)
  • added: class Attrs(object)
  • added: class BetaReport(Attrs)
  • added: class HistoryScan(object)
  • added: class Project(Attrs)
  • added: class Projects(Paginator)
  • added: class QueryGenerator(object)
  • added: class Reports(Paginator)
  • added: class RetryingClient(object)
  • added: class SampledHistoryScan(object)
  • added: class Sweep(Attrs)
  • added: class User(Attrs)
  • added: constructor Attrs(attrs)
  • added: constructor BetaReport(client, attrs, entity=…, project=…)
  • added: constructor HistoryScan(client, run, min_step, max_step, page_size=…)
  • added: constructor Project(entity, project, attrs)
  • added: constructor Projects(client, entity, per_page=…)
  • added: constructor QueryGenerator()
  • added: constructor Reports(client, project, name=…, entity=…, per_page=…)
  • added: constructor RetryingClient(client)
  • added: constructor SampledHistoryScan(client, run, keys, min_step, max_step, page_size=…)
  • added: constructor Sweep(client, entity, project, sweep_id, attrs=…)
  • added: field HistoryScan.QUERY
  • added: field HistoryScan.next
  • added: field Projects.QUERY
  • added: field QueryGenerator.GROUP_OP_TO_MONGO
  • added: field QueryGenerator.INDIVIDUAL_OP_TO_MONGO
  • added: field Reports.QUERY
  • added: field SampledHistoryScan.QUERY
  • added: field SampledHistoryScan.next
  • added: field Sweep.QUERY
  • added: method Api.projects(entity=…, per_page=…)
  • added: method Api.reports(path=…, name=…, per_page=…)
  • added: method Api.sweep(path=…)
  • added: method Attrs.snake_to_camel(string)
  • added: method BetaReport.runs(section, per_page=…, only_selected=…)
  • added: method Files.update_variables()
  • added: method Paginator.update_variables()
  • added: method Projects.convert_objects()
  • added: method QueryGenerator.filter_to_mongo(filter)
  • added: method QueryGenerator.key_to_server_path(key)
  • added: method Reports.convert_objects()
  • added: method Reports.update_variables()
  • added: method RetryingClient.execute(*args, **kwargs)
  • added: method Run.scan_history(keys=…, page_size=…, min_step=…, max_step=…)
  • added: method Sweep.best_run(order=…)
  • added: method Sweep.load(force=…)
  • added: method User.init(attrs)
  • added: property BetaReport.sections
  • added: property BetaReport.updated_at
  • added: property Project.path
  • added: property Projects.cursor
  • added: property Projects.length
  • added: property Projects.more
  • added: property Reports.cursor
  • added: property Reports.length
  • added: property Reports.more
  • added: property Run.entity
  • added: property Run.id
  • added: property Run.lastHistoryStep
  • added: property Run.name
  • added: property Run.username
  • added: property Sweep.config
  • added: property Sweep.entity
  • added: property Sweep.order
  • added: property Sweep.path
  • added: property Sweep.username
  • added: static method QueryGenerator.format_order_key(key)
  • added: static method Sweep.get(client, entity=…, project=…, sid=…, withRuns=…, order=…, query=…, **kwargs)
  • added: variable PROJECT_FRAGMENT
  • added: variable WANDB_INTERNAL_KEYS
  • changed: function agent(sweep_id) → function agent(ctx, project, entity, count, sweep_id)
  • changed: function login(key, server=…, browser=…) → function login(key, cloud, host, anonymously, server=…, browser=…, no_offline=…)
  • changed: function run(ctx, program, args, id, resume, dir, configs, message, show) → function run(ctx, program, args, id, resume, dir, configs, message, name, notes, show, tags, run_group, job_type)
  • changed: function status(run, settings, project) → function status(run, settings)
  • changed: function sweep(ctx, config_yaml) → function sweep(ctx, project, entity, controller, verbose, name, program, settings, update, config_yaml)
  • changed: function sync(ctx, path, id, project, entity) → function sync(ctx, path, id, project, entity, ignore)
  • added: function controller(verbose, sweep_id)
  • added: function gc(ctx, keep)
  • added: function local(ctx, port, env, daemon, upgrade, edge)
  • added: function magic(ctx, program, args)
  • added: method CallbackHandler.log_message(format, *args)
  • added: variable MONKEY_CONTEXT
  • added: class TemporaryDirectory(object)
  • added: constructor TemporaryDirectory(suffix=…, prefix=…, dir=…)
  • added: function mkdtemp(suffix=…, prefix=…, dir=…)
  • added: method TemporaryDirectory.cleanup()
  • added: class finalize(object)
  • added: constructor finalize(obj, func, *args, **kwargs)
  • added: method finalize.detach()
  • added: method finalize.peek()
  • added: property finalize.alive
  • added: property finalize.atexit
  • added: function CloseHandle(handle)
  • added: function DuplicateHandle(*args)
  • added: function GetCurrentProcess()
  • added: function pid_running(pid)
  • added: function quote_arg(s)
  • added: variable DUPLICATE_SAME_ACCESS
  • changed: function termerror(string) → function termerror(string, **kwargs)
  • changed: function termlog(string=…, newline=…) → function termlog(string=…, newline=…, repeat=…)
  • added: constructor Error(message)
  • added: function termwarn(string, **kwargs)
  • removed: class IterableMedia(object)
  • removed: field Audio.MAX_AUDIO_COUNT
  • removed: field Html.MAX_HTML_COUNT
  • removed: field Image.MAX_IMAGES
  • removed: function to_json(payload, mode=…)
  • removed: static method Audio.transform(audio_list, out_dir, key, step)
  • removed: static method Edge.transform(edge)
  • removed: static method Graph.transform(graph)
  • removed: static method Histogram.transform(histogram)
  • removed: static method Html.transform(html_list, out_dir, key, step)
  • removed: static method Image.captions(images)
  • removed: static method Image.transform(images, out_dir, fname)
  • removed: static method Node.transform(node)
  • removed: static method Table.transform(table)
  • changed: class Audio(IterableMedia) → class Audio(BatchableMedia)
  • changed: class Edge(object) → class Edge(WBValue)
  • changed: class Graph(object) → class Graph(Media)
  • changed: class Histogram(object) → class Histogram(WBValue)
  • changed: class Html(IterableMedia) → class Html(BatchableMedia)
  • changed: class Image(IterableMedia) → class Image(BatchableMedia)
  • changed: class Node(object) → class Node(WBValue)
  • changed: class Table(object) → class Table(Media)
  • changed: constructor Audio(data, sample_rate=…, caption=…) → constructor Audio(data_or_path, sample_rate=…, caption=…)
  • changed: constructor Image(data, mode=…, caption=…, grouping=…) → constructor Image(data_or_path, mode=…, caption=…, grouping=…, boxes=…, masks=…)
  • changed: function val_to_json(key, val, mode=…, step=…) → function val_to_json(run, key, val, step=…)
  • changed: method Histogram.to_json() → method Histogram.to_json(run=…)
  • changed: method Image.to_json() → method Image.to_json(run)
  • changed: method Image.to_uint8(data) → static method Image.to_uint8(data)
  • added: class BatchableMedia(Media)
  • added: class BoundingBoxes2D(JSONMetadata)
  • added: class ImageMask(Media)
  • added: class JSONMetadata(Media)
  • added: class Media(WBValue)
  • added: class Molecule(BatchableMedia)
  • added: class Object3D(BatchableMedia)
  • added: class Plotly(Media)
  • added: class Video(BatchableMedia)
  • added: class WBValue(object)
  • added: constructor BoundingBoxes2D(val, key, **kwargs)
  • added: constructor ImageMask(val, key, **kwargs)
  • added: constructor JSONMetadata(val, **kwargs)
  • added: constructor Media(caption=…)
  • added: constructor Molecule(data_or_path, **kwargs)
  • added: constructor Object3D(data_or_path, **kwargs)
  • added: constructor Plotly(val, **kwargs)
  • added: constructor Video(data_or_path, caption=…, fps=…, format=…)
  • added: constructor WBValue()
  • added: field Image.MAX_DIMENSION
  • added: field Image.MAX_THUMBNAILS
  • added: field Molecule.SUPPORTED_TYPES
  • added: field Object3D.SUPPORTED_TYPES
  • added: field Video.EXTS
  • added: function data_frame_to_json(df, run, key, step)
  • added: function history_dict_to_json(run, payload, step=…)
  • added: function is_numpy_array(data)
  • added: function numpy_arrays_to_lists(payload)
  • added: method Audio.to_json(run)
  • added: method BoundingBoxes2D.bind_to_run(run, key, step)
  • added: method BoundingBoxes2D.type_name()
  • added: method BoundingBoxes2D.validate(val)
  • added: method Edge.to_json(run=…)
  • added: method Graph.bind_to_run(*args, **kwargs)
  • added: method Graph.to_json(run)
  • added: method Html.to_json(run)
  • added: method Image.bind_to_run(*args, **kwargs)
  • added: method ImageMask.bind_to_run(run, key, step)
  • added: method ImageMask.get_media_subdir()
  • added: method ImageMask.to_json(run)
  • added: method ImageMask.type_name()
  • added: method ImageMask.validate(mask)
  • added: method JSONMetadata.get_media_subdir()
  • added: method JSONMetadata.to_json(run)
  • added: method JSONMetadata.type_name()
  • added: method JSONMetadata.validate(val)
  • added: method Media.bind_to_run(run, key, step, id_=…)
  • added: method Media.file_is_set()
  • added: method Media.is_bound()
  • added: method Media.to_json(run)
  • added: method Molecule.to_json(run)
  • added: method Node.to_json(run=…)
  • added: method Object3D.to_json(run)
  • added: method Plotly.get_media_subdir()
  • added: method Plotly.to_json(run)
  • added: method Table.bind_to_run(*args, **kwargs)
  • added: method Table.to_json(run)
  • added: method Video.encode()
  • added: method Video.to_json(run)
  • added: method WBValue.to_json(run)
  • added: static method Audio.get_media_subdir()
  • added: static method Audio.seq_to_json(seq, run, key, step)
  • added: static method BatchableMedia.seq_to_json(seq, run, key, step)
  • added: static method Graph.get_media_subdir()
  • added: static method Html.get_media_subdir()
  • added: static method Html.seq_to_json(html_list, run, key, step)
  • added: static method Image.all_boxes(images, run, run_key, step)
  • added: static method Image.all_captions(images)
  • added: static method Image.all_masks(images, run, run_key, step)
  • added: static method Image.get_media_subdir()
  • added: static method Image.seq_to_json(images, run, key, step)
  • added: static method Media.captions(media_items)
  • added: static method Media.get_media_subdir()
  • added: static method Molecule.get_media_subdir()
  • added: static method Molecule.seq_to_json(molecule_list, run, key, step)
  • added: static method Object3D.get_media_subdir()
  • added: static method Object3D.seq_to_json(threeD_list, run, key, step)
  • added: static method Plotly.make_plot_media(val)
  • added: static method Table.get_media_subdir()
  • added: static method Video.captions(videos)
  • added: static method Video.get_media_subdir()
  • added: static method Video.seq_to_json(videos, run, key, step)
  • added: variable DATA_FRAMES_SUBDIR
  • added: variable MEDIA_TMP
  • added: function image_categorizer_dataframe(x, y_true, y_pred, labels, example_ids=…)
  • added: function image_segmentation_binary_dataframe(x, y_true, y_pred, example_ids=…)
  • added: function image_segmentation_dataframe(x, y_true, y_pred, labels=…, example_ids=…, class_colors=…)
  • added: function image_segmentation_multiclass_dataframe(x, y_true, y_pred, labels, example_ids=…, class_colors=…)
  • added: function get_crash_nosync_time(default=…, env=…)
  • added: function get_http_timeout(default=…, env=…)
  • added: function get_magic(default=…, env=…)
  • added: function get_user_email(default=…, env=…)
  • added: function immutable_keys()
  • added: function should_save_code()
  • added: variable AGENT_DISABLE_FLAPPING
  • added: variable ANONYMOUS
  • added: variable CONFIG_DIR
  • added: variable CRASH_NOSYNC_TIME
  • added: variable DISABLE_CODE
  • added: variable HOST
  • added: variable HTTP_TIMEOUT
  • added: variable JUPYTER
  • added: variable MAGIC
  • added: variable NAME
  • added: variable NOTEBOOK_NAME
  • added: variable NOTES
  • added: variable SAVE_CODE
  • added: variable SILENT
  • added: variable USER_EMAIL
  • removed: field WandbCallback.watch_called
  • changed: constructor WandbCallback(learn, log=…, show_results=…, save_model=…, monitor=…, mode=…) → constructor WandbCallback(learn, log=…, save_model=…, monitor=…, mode=…, input_type=…, validation_data=…, predictions=…, seed=…)
  • added: class FastaiError(wandb.Error)
  • removed: field FilePusher.RATE_LIMIT_SECONDS
  • removed: method FilePusher.update_progress(save_name, uploaded)
  • changed: constructor UploadJob(done_queue, push_function, save_name, path, copy=…) → constructor UploadJob(done_queue, progress, api, save_name, path, copy=…)
  • added: class BatchUploadJob(UploadJob)
  • added: constructor BatchUploadJob(done_queue, files, api, batch_id, file_changed_events)
  • added: field FilePusher.BATCH_MAX_FILES
  • added: field FilePusher.BATCH_MIN_FILES
  • added: field FilePusher.BATCH_THRESHOLD_SECS
  • added: field FilePusher.RATE_LIMIT_SECS
  • added: function resolve_path(path)
  • added: method BatchUploadJob.cleanup_file()
  • added: method FilePusher.should_batch(file_change_event)
  • added: method UploadJob.cleanup_file()
  • added: method UploadJob.prepare_file()
  • added: method UploadJob.progress(total_bytes)
  • added: method UploadJob.push()
  • added: variable EventFileBatch
  • added: variable TMP_DIR
  • added: method GitRepo.is_untracked(file_name)
  • added: export wandb
  • added: function monitor()
  • changed: constructor History(fname, out_dir=…, add_callback=…, jupyter_callback=…, stream_name=…) → constructor History(run, add_callback=…, jupyter_callback=…, stream_name=…)
  • changed: method History.add(row=…, step=…) → method History.add(row=…, step=…, timestamp=…, commit=…)
  • added: field History.keep_rows
  • added: class WindowsRedirector(object)
  • added: constructor WindowsRedirector(from_stream, to_file)
  • added: method WindowsRedirector.redirect()
  • added: method WindowsRedirector.restore()
  • added: function attempt_colab_login(app_url)
  • added: function notebook_metadata()
  • added: method JupyterAgent.save_display(exc_count, data)
  • added: method JupyterAgent.save_history()
  • added: variable logger
  • removed: export wandb
  • changed: constructor WandbCallback(monitor=…, verbose=…, mode=…, save_weights_only=…, log_weights=…, log_gradients=…, save_model=…, training_data=…, validation_data=…, labels=…, data_type=…, predictions=…, generator=…) → constructor WandbCallback(monitor=…, verbose=…, mode=…, save_weights_only=…, log_weights=…, log_gradients=…, save_model=…, training_data=…, validation_data=…, labels=…, data_type=…, predictions=…, generator=…, input_type=…, output_type=…, log_evaluation=…, validation_steps=…, class_colors=…, log_batch_frequency=…, log_best_prefix=…)
  • added: method WandbCallback.on_predict_batch_begin(batch, logs=…)
  • added: method WandbCallback.on_predict_batch_end(batch, logs=…)
  • added: method WandbCallback.on_predict_begin(logs=…)
  • added: method WandbCallback.on_predict_end(logs=…)
  • added: method WandbCallback.on_test_batch_begin(batch, logs=…)
  • added: method WandbCallback.on_test_batch_end(batch, logs=…)
  • added: method WandbCallback.on_test_begin(logs=…)
  • added: method WandbCallback.on_test_end(logs=…)
  • added: method WandbCallback.on_train_batch_begin(batch, logs=…)
  • added: method WandbCallback.on_train_batch_end(batch, logs=…)
  • added: export wandb
  • added: function wandb_callback()
  • added: class ArgumentException(Exception)
  • added: class ImportMetaHook
  • added: class SafeArgumentParser(argparse.ArgumentParser)
  • added: constructor ImportMetaHook(watch=…, on_import=…)
  • added: function magic_install(init_args=…)
  • added: function set_entity(value, env=…)
  • added: method ImportMetaHook.add(fullname=…, lastname=…, on_import=…)
  • added: method ImportMetaHook.find_module(fullname, path=…)
  • added: method ImportMetaHook.get_module(module)
  • added: method ImportMetaHook.get_modules()
  • added: method ImportMetaHook.install()
  • added: method ImportMetaHook.load_module(fullname)
  • added: method ImportMetaHook.uninstall()
  • added: method SafeArgumentParser.error(message)
  • added: variable logger
  • added: export ExplainText
  • added: export HeatMap
  • added: export NER
  • added: export POS
  • added: export ROC
  • added: export precision_recall
  • added: function explain_text(text, probas, target_names=…)
  • added: function heatmap(x_labels, y_labels, matrix_values, show_text=…)
  • added: variable chart_limit
  • added: function named_entity(docs)
  • added: function part_of_speech(docs)
  • added: function precision_recall(y_true=…, y_probas=…, labels=…, plot_micro=…, classes_to_plot=…)
  • added: variable chart_limit
  • added: function roc(y_true=…, y_probas=…, labels=…, plot_micro=…, plot_macro=…, classes_to_plot=…)
  • added: variable chart_limit
  • added: function encode_labels(df)
  • added: function test_fitted(model)
  • added: function test_missing(**kwargs)
  • added: function test_types(**kwargs)
  • added: variable collections
  • added: class WandbLogger(tune.logger.Logger)
  • added: export wandb
  • added: method WandbLogger.close()
  • added: method WandbLogger.on_result(result)
  • removed: variable OUTPUT_FNAME
  • changed: constructor RunManager(api, run, project=…, tags=…, cloud=…, output=…, port=…) → constructor RunManager(run, project=…, tags=…, cloud=…, output=…, port=…)
  • added: class FileEventHandlerOverwriteOnce(FileEventHandler)
  • added: class RunStatusChecker(object)
  • added: constructor FileEventHandlerOverwriteOnce(file_path, save_name, api, file_pusher, *args, **kwargs)
  • added: constructor RunStatusChecker(run, api, stop_requested_handler, polling_interval=…)
  • added: field RunManager.CRASH_NOSYNC_TIME
  • added: function format_run_name(run)
  • added: method FileEventHandlerOverwriteOnce.finish()
  • added: method FileEventHandlerOverwriteOnce.on_created()
  • added: method RunManager.start_tensorboard_watcher(logdir, save=…)
  • added: method RunStatusChecker.check_status()
  • added: method RunStatusChecker.shutdown()
  • added: class Settings(object)
  • added: constructor Settings(load_settings=…)
  • added: field Settings.DEFAULT_SECTION
  • added: method Settings.clear(section, key, globally=…, persist=…)
  • added: method Settings.get(section, key, fallback=…)
  • added: method Settings.items(section=…)
  • added: method Settings.set(section, key, value, globally=…, persist=…)
  • added: export precision_recall
  • added: export roc
  • added: export wandb
  • added: function confusion_matrix(y_true=…, y_pred=…, labels=…, true_labels=…, pred_labels=…, title=…, normalize=…, hide_zeros=…, hide_counts=…)
  • added: function get_named_labels(labels, numeric_labels)
  • added: function learning_curve(model, X, y, cv=…, shuffle=…, random_state=…, train_sizes=…, n_jobs=…, scoring=…)
  • added: function plot_calibration_curve(clf=…, X=…, y=…, clf_name=…)
  • added: function plot_class_proportions(y_train=…, y_test=…, labels=…)
  • added: function plot_classifier(model, X_train, X_test, y_train, y_test, y_pred, y_probas, labels, is_binary=…, model_name=…, feature_names=…)
  • added: function plot_clusterer(model, X_train, cluster_labels, labels=…, model_name=…)
  • added: function plot_confusion_matrix(y_true=…, y_pred=…, labels=…, true_labels=…, pred_labels=…, title=…, normalize=…, hide_zeros=…, hide_counts=…)
  • added: function plot_decision_boundaries(binary_clf=…, X=…, y=…)
  • added: function plot_elbow_curve(clusterer=…, X=…, cluster_ranges=…, n_jobs=…, show_cluster_time=…)
  • added: function plot_feature_importances(model=…, feature_names=…, title=…, max_num_features=…)
  • added: function plot_learning_curve(model=…, X=…, y=…, cv=…, shuffle=…, random_state=…, train_sizes=…, n_jobs=…, scoring=…)
  • added: function plot_outlier_candidates(regressor=…, X=…, y=…)
  • added: function plot_precision_recall(y_true=…, y_probas=…, labels=…, plot_micro=…, classes_to_plot=…)
  • added: function plot_regressor(model, X_train, X_test, y_train, y_test, model_name=…)
  • added: function plot_residuals(regressor=…, X=…, y=…)
  • added: function plot_roc(y_true=…, y_probas=…, labels=…, plot_micro=…, plot_macro=…, classes_to_plot=…)
  • added: function plot_silhouette(clusterer=…, X=…, cluster_labels=…, labels=…, metric=…, kmeans=…)
  • added: function plot_summary_metrics(model=…, X=…, y=…, X_test=…, y_test=…)
  • added: function round_2(n)
  • added: function round_3(n)
  • added: function summary_metrics(model=…, X=…, y=…, X_test=…, y_test=…)
  • added: variable chart_limit
  • added: function encode_labels(df)
  • added: function test_fitted(model)
  • added: function test_missing(**kwargs)
  • added: function test_types(**kwargs)
  • added: function gpu_in_use_by_this_process(gpu_handle)
  • added: method TextStreamPusher.flush()
  • added: variable ANSI_CURSOR_UP
  • added: variable LINE_END_RE
  • changed: function download_h5(run, entity=…, project=…, out_dir=…) → function download_h5(run_id, entity=…, project=…, out_dir=…)
  • changed: function upload_h5(file, run, entity=…, project=…) → function upload_h5(file, run_id, entity=…, project=…)
  • added: method HTTPSummary.load()
  • added: method HTTPSummary.open_h5()
  • added: method SummarySubDict.items()
  • added: export BayesianSearch
  • added: export EnvelopeEarlyTerminate
  • added: export GridSearch
  • added: export HyperbandEarlyTerminate
  • added: export RandomSearch
  • added: export sweepdebug
  • added: export sweeperror
  • added: export sweeplog
  • added: export sweepwarn
  • added: class EarlyTerminate
  • added: class Search
  • added: method EarlyTerminate.stop_runs(sweep_config, runs)
  • added: method Search.next_run(sweep)
  • added: class BayesianSearch(Search)
  • added: constructor BayesianSearch(minimum_improvement=…)
  • added: function filter_weird_values(sample_X, sample_y)
  • added: function fit_normalized_gaussian_process(X, y, nu=…)
  • added: function next_sample(sample_X, sample_y, X_bounds=…, runtimes=…, failures=…, current_X=…, nu=…, max_samples_for_gp=…, improvement=…, num_points_to_try=…, opt_func=…, test_X=…)
  • added: function predict(X, y, test_X, nu=…)
  • added: function random_sample(X_bounds, num_test_samples)
  • added: function sigmoid(x)
  • added: function target(x)
  • added: function train_gaussian_process(sample_X, sample_y, X_bounds, current_X=…, nu=…, max_samples=…)
  • added: function train_runtime_model(sample_X, runtimes, X_bounds)
  • added: method BayesianSearch.next_run(sweep)
  • added: variable scipy_stats
  • added: variable sklearn_gaussian
  • added: export SweepConfig
  • added: class SweepConfig(UserDict)
  • added: class SweepConfigElement
  • added: constructor SweepConfig(d)
  • added: constructor SweepConfigElement(module=…, version=…)
  • added: method SweepConfig.save(filename)
  • added: method SweepConfig.set(**kwargs)
  • added: method SweepConfig.set_local()
  • added: method SweepConfig.set_name(name)
  • added: method SweepConfig.set_settings(settings)
  • added: export hp
  • added: class Hyperopt(cfg.SweepConfigElement)
  • added: class Struct(object)
  • added: constructor Hyperopt()
  • added: constructor Struct(spec)
  • added: method Hyperopt.choice(*args, **kwargs)
  • added: method Hyperopt.loguniform(min_bound, max_bound, base=…)
  • added: method Hyperopt.uniform(*args, **kwargs)
  • added: variable hp
  • added: variable loguniform
  • added: variable run
  • added: variable uniform
  • added: export AsyncHyperBandScheduler
  • added: class AsyncHyperband(cfg.SweepConfigElement)
  • added: constructor AsyncHyperband()
  • added: method AsyncHyperband.AsyncHyperBandScheduler(time_attr=…, reward_attr=…, metric=…, mode=…, max_t=…, grace_period=…, reduction_factor=…, brackets=…)
  • added: variable AsyncHyperBandScheduler
  • added: class HyperOpt(cfg.SweepConfigElement)
  • added: constructor HyperOpt()
  • added: method HyperOpt.HyperOptSearch(space, max_concurrent=…, reward_attr=…, metric=…, mode=…, points_to_evaluate=…, n_initial_points=…, random_state_seed=…, gamma=…, **kwargs)
  • added: variable HyperOptSearch
  • added: class Tune(cfg.SweepConfigElement)
  • added: constructor Tune()
  • added: method Tune.loguniform(min_bound, max_bound, base=…)
  • added: method Tune.run(run_or_experiment, name=…, stop=…, config=…, resources_per_trial=…, num_samples=…, local_dir=…, upload_dir=…, trial_name_creator=…, loggers=…, sync_to_cloud=…, sync_to_driver=…, checkpoint_freq=…, checkpoint_at_end=…, keep_checkpoints_num=…, checkpoint_score_attr=…, global_checkpoint_period=…, export_formats=…, max_failures=…, restore=…, search_alg=…, scheduler=…, with_server=…, s…
  • added: method Tune.uniform(*args, **kwargs)
  • added: variable loguniform
  • added: variable run
  • added: variable tune_run_supported
  • added: variable uniform
  • added: export execute
  • added: export hyperopt
  • added: export translate
  • added: export tune
  • added: function execute(config)
  • added: function translate(space)
  • added: variable supported
  • added: class HyperOpt
  • added: constructor HyperOpt()
  • added: method HyperOpt.choice(config, version=…)
  • added: method HyperOpt.loguniform(config, version=…)
  • added: method HyperOpt.randint(config, version=…)
  • added: method HyperOpt.randn(config, version=…)
  • added: method HyperOpt.uniform(config, version=…)
  • added: variable hyperopt
  • added: class Tune
  • added: class TuneHyperOptSearch
  • added: class TuneRun
  • added: constructor Tune()
  • added: constructor TuneHyperOptSearch(space, max_concurrent=…, reward_attr=…, metric=…, mode=…, points_to_evaluate=…, n_initial_points=…, random_state_seed=…, gamma=…, _wandb=…, **kwargs)
  • added: constructor TuneRun(spec)
  • added: method Tune.choice(config, version=…)
  • added: method Tune.loguniform(config, version=…)
  • added: method Tune.randint(config, version=…)
  • added: method Tune.randn(config, version=…)
  • added: method Tune.run(config, version=…)
  • added: method Tune.uniform(config, version=…)
  • added: method TuneHyperOptSearch.next_args()
  • added: method TuneRun.add_result(result)
  • added: method TuneRun.is_finished()
  • added: method TuneRun.next_args()
  • added: variable tune
  • added: class EnvelopeEarlyTerminate(EarlyTerminate)
  • added: constructor EnvelopeEarlyTerminate(fraction=…, min_runs=…, start_iter=…)
  • added: function cumulative_min(history, envelope_len)
  • added: function envelope_from_histories(histories, envelope_len)
  • added: function envelope_from_top_n(histories, metrics, n)
  • added: function histories_for_top_n(histories, metrics, n=…)
  • added: function is_inside_envelope(history, envelope, ignore_first_n_iters=…)
  • added: function top_k_indicies(arr, k)
  • added: method EnvelopeEarlyTerminate.stop_runs(sweep_config, runs)
  • added: static method EnvelopeEarlyTerminate.init_from_config(config)
  • added: class GridSearch(Search)
  • added: constructor GridSearch(randomize_order=…)
  • added: method GridSearch.next_run(sweep)
  • added: class HyperbandEarlyTerminate(EarlyTerminate)
  • added: constructor HyperbandEarlyTerminate(bands, r)
  • added: method HyperbandEarlyTerminate.stop_runs(sweep_config, runs)
  • added: static method HyperbandEarlyTerminate.init_from_config(et_config)
  • added: static method HyperbandEarlyTerminate.init_from_max_iter(max_iter, eta, s)
  • added: static method HyperbandEarlyTerminate.init_from_min_iter(min_iter, eta)
  • added: class HyperParameter
  • added: class HyperParameterSet(list)
  • added: constructor HyperParameter(param_name, param_config)
  • added: field HyperParameter.CATEGORICAL
  • added: field HyperParameter.CONSTANT
  • added: field HyperParameter.INT_UNIFORM
  • added: field HyperParameter.LOG_NORMAL
  • added: field HyperParameter.LOG_UNIFORM
  • added: field HyperParameter.NORMAL
  • added: field HyperParameter.Q_LOG_NORMAL
  • added: field HyperParameter.Q_LOG_UNIFORM
  • added: field HyperParameter.Q_NORMAL
  • added: field HyperParameter.Q_UNIFORM
  • added: field HyperParameter.UNIFORM
  • added: method HyperParameter.cdf(x)
  • added: method HyperParameter.ppf(x)
  • added: method HyperParameter.sample()
  • added: method HyperParameter.to_config()
  • added: method HyperParameter.value_to_int(value)
  • added: method HyperParameterSet.convert_run_to_normalized_vector(run)
  • added: method HyperParameterSet.convert_run_to_vector(run)
  • added: method HyperParameterSet.denormalize_vector(X)
  • added: method HyperParameterSet.index_searchable_params()
  • added: method HyperParameterSet.numeric_bounds()
  • added: method HyperParameterSet.to_config()
  • added: static method HyperParameterSet.from_config(config)
  • added: variable stats
  • added: class RandomSearch(Search)
  • added: method RandomSearch.next_run(sweep)
  • added: class RayTuneSearch(Search)
  • added: constructor RayTuneSearch()
  • added: function config_to_dict(config)
  • added: function dict_to_config(params)
  • added: method RayTuneSearch.next_run(sweep)
  • added: method RayTuneSearch.stop_runs(sweep_config, runs)
  • added: class EarlyTerminate(base.EarlyTerminate)
  • added: class Search(base.Search)
  • added: static method EarlyTerminate.to_class(config)
  • added: static method Search.to_class(config)
  • added: class Run(object)
  • added: constructor Run(name, state, config, summary, history)
  • added: function rosenbrock(x)
  • added: function run_iterations(f, bounds, num_iterations=…)
  • added: function run_iterations_chunked(f, bounds, num_iterations=…, chunk_size=…)
  • added: function squiggle(x)
  • added: function test_iterations_rosenbrock()
  • added: function test_iterations_squiggle()
  • added: function test_iterations_squiggle_chunked()
  • added: function test_nans()
  • added: function test_runs_bayes()
  • added: function test_runs_bayes_runs2()
  • added: function test_runs_bayes_runs2_missingmetric()
  • added: function test_squiggle()
  • added: function test_squiggle_int()
  • added: variable sweep_config_2params
  • added: function synthetic_loss(start, asympt, decay, noise, length)
  • added: function synthetic_loss_family(num)
  • added: function synthetic_loss_random()
  • added: function test_envelope_terminate()
  • added: class Param(object)
  • added: class Run(object)
  • added: constructor Param(name, values, type=…)
  • added: constructor Run(params)
  • added: function test_grid_all()
  • added: function test_grid_single()
  • added: variable sweep_config_2params
  • added: class Run(object)
  • added: constructor Run(name, state, history)
  • added: function test_2runs_band1_pass()
  • added: function test_2runs_band1_stop()
  • added: function test_2runs_band1_stop_2()
  • added: function test_5runs_band1_stop_2()
  • added: function test_5runs_band1_stop_2_1stnoband()
  • added: function test_eta_3()
  • added: function test_eta_3_max()
  • added: function test_hyperband_max_iter_bands()
  • added: function test_hyperband_min_iter_bands()
  • added: function test_init_from_max_iter()
  • added: function test_single_run()
  • added: function test_skipped_steps()
  • added: function test_rand_single()
  • added: variable sweep_config_2params
  • added: function pad(lst, num, val=…, left=…)
  • added: function sweepdebug(s)
  • added: function sweeperror(s)
  • added: function sweeplog(s)
  • added: function sweepwarn(s)
  • changed: function log(tf_summary_str, **kwargs) → function log(tf_summary_str_or_pb, history=…, step=…, namespace=…, **kwargs)
  • changed: function patch(save=…, tensorboardX=…) → function patch(save=…, tensorboardX=…, pytorch=…)
  • added: function namespaced_tag(tag, namespace=…)
  • added: class Consumer(object)
  • added: class Event(object)
  • added: class Watcher(object)
  • added: constructor Consumer(queue, delay=…)
  • added: constructor Event(event, namespace)
  • added: constructor Watcher(logdir, queue, namespace=…, save=…)
  • added: function IsNewTensorFlowEventsFile(path)
  • added: function loader(save=…, namespace=…)
  • added: method Consumer.shutdown()
  • added: method Consumer.start()
  • added: method Watcher.process_event(event)
  • added: method Watcher.shutdown()
  • added: method Watcher.start()
  • changed: class WandbHook(tf.train.SessionRunHook) → class WandbHook(SessionRunHook)
  • changed: constructor WandbHook(summary_op=…, steps_per_log=…) → constructor WandbHook(summary_op=…, steps_per_log=…, history=…)
  • changed: function stream_tfevents(path, file_api, step=…) → function stream_tfevents(path, file_api, run, step=…, namespace=…)
  • added: function call(event_str, *args, **kwargs)
  • added: function register(event_str, func)
  • added: function reset()
  • added: function unregister(event_str, func)
  • removed: function encode_data_frame(name, df, run)
  • removed: function write_settings(entity, project, url)
  • removed: variable DATA_FRAMES_SUBDIR
  • added: class JSONEncoderUncompressed(json.JSONEncoder)
  • added: class PreInitObject(object)
  • added: constructor PreInitObject(name)
  • added: function auto_project_name(program, api)
  • added: function class_colors(class_count)
  • added: function get_program()
  • added: function guess_data_type(shape, risky=…)
  • added: function has_num(dictionary, key)
  • added: function is_numpy_array(obj)
  • added: function is_plotly_figure_typename(typename)
  • added: function is_tf_eager_tensor_typename(typename)
  • added: function isatty(ob)
  • added: function json_dump_safer(obj, fp, **kwargs)
  • added: function json_dump_uncompressed(obj, fp, **kwargs)
  • added: function parse_sweep_id(parts_dict)
  • added: function prompt_api_key(api, input_callback=…, browser_callback=…, no_offline=…, local=…)
  • added: function set_api_key(api, key, anonymous=…)
  • added: function to_forward_slash_path(path)
  • added: method JSONEncoderUncompressed.default(obj)
  • added: variable DIFF_FNAME
  • added: variable LOGIN_CHOICES
  • added: variable LOGIN_CHOICE_ANON
  • added: variable LOGIN_CHOICE_DRYRUN
  • added: variable LOGIN_CHOICE_EXISTS
  • added: variable LOGIN_CHOICE_NEW
  • added: variable OUTPUT_FNAME
  • added: class Visualize
  • added: constructor Visualize(viz_id, value)
  • added: function visualize(viz_id, value)
  • added: class Agent(object)
  • added: class AgentApi(object)
  • added: class AgentError(Exception)
  • added: class AgentProcess(object)
  • added: constructor Agent(api, queue, sweep_id=…, function=…, in_jupyter=…, count=…)
  • added: constructor AgentApi(queue)
  • added: constructor AgentProcess(env=…, command=…, function=…, run_id=…, in_jupyter=…)
  • added: field Agent.FLAPPING_MAX_FAILURES
  • added: field Agent.FLAPPING_MAX_SECONDS
  • added: field Agent.KILL_DELAY
  • added: field Agent.POLL_INTERVAL
  • added: field Agent.REPORT_INTERVAL
  • added: function agent(sweep_id, function=…, entity=…, project=…, count=…)
  • added: function run_agent(sweep_id, function=…, in_jupyter=…, entity=…, project=…, count=…)
  • added: method Agent.is_flapping()
  • added: method Agent.run()
  • added: method AgentApi.command(command)
  • added: method AgentProcess.kill()
  • added: method AgentProcess.poll()
  • added: method AgentProcess.terminate()
  • added: method AgentProcess.wait()
  • added: variable logger
  • changed: method Config.update(params, allow_val_change=…) → method Config.update(params, allow_val_change=…, exclude_keys=…, include_keys=…)
  • added: class ConfigStatic(object)
  • added: constructor ConfigStatic(config)
  • added: function huggingface_version()
  • added: function is_kaggle()
  • added: method Config.setdefault(key, default=…)
  • added: method Config.setdefaults(params, exclude_keys=…, include_keys=…)
  • added: method Config.user_items()
  • added: method ConfigStatic.keys()
  • added: class ControllerError(Exception)
  • added: function controller(sweep_id_or_config=…, entity=…, project=…)
  • added: function sweep(sweep, entity=…, project=…)
  • added: variable SWEEP_INITIAL_RUN_STATE
  • added: variable wandb_sweeps
  • changed: constructor Run(run_id=…, mode=…, dir=…, group=…, job_type=…, config=…, sweep_id=…, storage_id=…, description=…, resume=…, program=…, args=…, wandb_dir=…, tags=…) → constructor Run(run_id=…, mode=…, dir=…, group=…, job_type=…, config=…, sweep_id=…, storage_id=…, description=…, resume=…, program=…, args=…, wandb_dir=…, tags=…, name=…, notes=…, api=…)
  • changed: method Run.get_url(api=…) → method Run.get_url(api=…, network=…, params=…)
  • changed: static method Run.from_directory(directory, project=…, entity=…, run_id=…, api=…) → static method Run.from_directory(directory, project=…, entity=…, run_id=…, api=…, ignore_globs=…)
  • added: method Run.get_project_url(api=…, network=…, params=…)
  • added: method Run.get_sweep_url(api=…, network=…, params=…)
  • added: method Run.log(row=…, commit=…, step=…, sync=…, *args, **kwargs)
  • added: property Run.api
  • added: property Run.config_static
  • added: property Run.entity
  • changed: constructor Server() → constructor Server(port=…)
  • changed: function nested_shape(array_or_tuple) → function nested_shape(array_or_tuple, seen=…)
  • changed: method TorchHistory.add_log_hooks_to_pytorch_module(module, name=…, prefix=…, log_parameters=…, log_gradients=…, log_freq=…) → method TorchHistory.add_log_hooks_to_pytorch_module(module, name=…, prefix=…, log_parameters=…, log_gradients=…, log_freq=…, jupyter_run=…)
  • added: method TorchHistory.unhook_all()
  • added: export wandb
  • added: function wandb_callback()