Skip to content

Regression - #244

Merged
dakot merged 76 commits into
scikit-activeml:development-regressionfrom
LukasLuehrs:master
Sep 13, 2022
Merged

dakot merged 76 commits into
scikit-activeml:development-regressionfrom
LukasLuehrs:master

Conversation

@LukasLuehrs

Copy link
Copy Markdown
Collaborator

No description provided.

return kl_div


def cross_entropy(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't expect to import the cross_entropy from pool.regression._information_gain_maximization . Maybe you can find a more suitable location for this function?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Adrian.

Is there a corresponding function from scikit-learn?

@mherde
mherde changed the base branch from master to development June 10, 2022 12:14
Comment thread docs/examples/pool/template.py Resolved
Comment thread docs/generate.py Resolved
Comment thread skactiveml/base.py Resolved
Comment thread skactiveml/base.py Resolved
Comment thread skactiveml/base.py Resolved
Comment thread skactiveml/regressor/_wrapper.py Resolved
Comment thread skactiveml/regressor/_wrapper.py Resolved
return best_indices


def combine_ranking(*iter_ranking, rank_method=None, rank_per_batch=False):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe move to representativeness and diversirty? Or do you think that this method will be used by others, e.g., for strategy combination?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please comment @LukasLuehrs

Comment thread skactiveml/visualization/__init__.py Resolved
Comment thread skactiveml/visualization/_data_set.py Resolved
Comment thread docs/generate.py Resolved
Comment thread docs/generate.py Resolved
Comment thread docs/generate.py Resolved
Comment thread skactiveml/pool/utils.py Resolved
Comment thread skactiveml/pool/utils.py Resolved
Comment thread skactiveml/pool/utils.py Resolved
Comment thread skactiveml/pool/utils.py Resolved
Comment thread skactiveml/pool/utils.py Resolved
Comment thread skactiveml/pool/__init__.py Resolved
Comment thread skactiveml/pool/__init__.py Resolved

References
----------
[1] Kaeding, Christoph and Rodner, Erik and Freytag, Alexander and Mothes,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still wrong citation xD

Comment thread skactiveml/pool/_greedy_sampling.py Resolved
Comment thread skactiveml/pool/_greedy_sampling.py Resolved
Comment thread skactiveml/pool/_greedy_sampling.py Resolved
Comment thread skactiveml/pool/_greedy_sampling.py Resolved
Comment thread skactiveml/pool/_greedy_sampling.py Resolved
Comment thread skactiveml/pool/_greedy_sampling.py Resolved
Comment thread skactiveml/utils/_validation.py Outdated
)

# count the number of arguments that have no default value
n_free_params = len(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
n_free_params = len(
n_actual_free_parameters = len(

What is the meaning of free parameters? Do you just mean the mandatory parameters without default values? Then maybe use n_mandatory_parameters and n_actual_mandatory_parameters.

Comment thread skactiveml/visualization/_data_sets.py Outdated


def sample_generator_1d(
n_samples, *intervals, interval_density=1, random_state=None

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
n_samples, *intervals, interval_density=1, random_state=None
n_samples, intervals, interval_density=1, random_state=None

Define intervals directly as list similar to centers in sklearn.data_sets.make_blobs.

Comment thread skactiveml/visualization/_data_sets.py Outdated


def gaussian_noise_generator_1d(
X, *intervals, interval_std=1, default_std=0.5, random_state=None

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
X, *intervals, interval_std=1, default_std=0.5, random_state=None
X, intervals, interval_std=1, default_std=0.5, random_state=None

Define intervals directly as list similar to centers in sklearn.data_sets.make_blobs.

Comment thread skactiveml/visualization/_data_sets.py Outdated
@@ -0,0 +1,116 @@
import numpy as np

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need discuss whether this file is necessary. make_blobs can also be used to generate such data sets.

check_type(contour_dict, "contour_dict", dict)
contour_args.update(contour_dict)
return contour_args

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move to datasets file.

@tpham93
tpham93 changed the base branch from development to development-regression September 13, 2022 11:05
@dakot
dakot merged commit b58db6d into scikit-activeml:development-regression Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants