Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
cpp_sisso
Commits
58987a62
Commit
58987a62
authored
Aug 12, 2021
by
Thomas Purcell
Browse files
Add Apache licence boilerplate to all source/header files
parent
11044831
Changes
158
Hide whitespace changes
Inline
Side-by-side
src/classification/ConvexHull1D.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"classification/ConvexHull1D.hpp"
ConvexHull1D
::
ConvexHull1D
()
:
...
...
src/classification/ConvexHull1D.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file classificationutils.hpp
* @brief A set of functions to create convex hulls, and compare overlap/distance
*
...
...
src/classification/LPWrapper.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"classification/LPWrapper.hpp"
#include
<iomanip>
LPWrapper
::
LPWrapper
(
...
...
src/classification/LPWrapper.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file classification/LPWrapper.hpp
* @brief A class used to wrap Coin-Clp into a single class
*
...
...
src/classification/SVMWrapper.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"classification/SVMWrapper.hpp"
SVMWrapper
::
SVMWrapper
(
const
int
n_class
,
const
int
n_dim
,
const
int
n_samp
,
const
double
*
prop
)
:
...
...
src/classification/SVMWrapper.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file classification/SVMWrapper.hpp
* @brief A class used to wrap libsvm in more C++ oriented data structure
*
...
...
src/classification/prop_sorted_d_mat.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"classification/prop_sorted_d_mat.hpp"
std
::
vector
<
double
>
prop_sorted_d_mat
::
SORTED_D_MATRIX
;
...
...
src/classification/prop_sorted_d_mat.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file classification/prop_sorted_d_mat.hpp
* @brief Central storage area for a sorted descriptor matrix based on the task/class of a sample
...
...
src/descriptor_identifier/Model/Model.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"descriptor_identifier/Model/Model.hpp"
Model
::
Model
(
...
...
src/descriptor_identifier/Model/Model.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file descriptor_identifier/Model/Model.hpp
* @brief Object to store the models generated form SISSO
*
...
...
src/descriptor_identifier/Model/ModelClassifier.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"descriptor_identifier/Model/ModelClassifier.hpp"
ModelClassifier
::
ModelClassifier
(
...
...
src/descriptor_identifier/Model/ModelClassifier.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file descriptor_identifier/ModelClassifier/ModelClassifier.hpp
* @brief Object to store the models generated form SISSO
*
...
...
src/descriptor_identifier/Model/ModelLogRegressor.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"descriptor_identifier/Model/ModelLogRegressor.hpp"
ModelLogRegressor
::
ModelLogRegressor
()
...
...
src/descriptor_identifier/Model/ModelLogRegressor.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file descriptor_identifier/ModelLogRegressor/ModelLogRegressor.hpp
* @brief Object to store the models generated form SISSO
*
...
...
src/descriptor_identifier/Model/ModelRegressor.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"descriptor_identifier/Model/ModelRegressor.hpp"
ModelRegressor
::
ModelRegressor
()
...
...
src/descriptor_identifier/Model/ModelRegressor.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file descriptor_identifier/ModelRegressor/ModelRegressor.hpp
* @brief Object to store the models generated form SISSO
*
...
...
src/descriptor_identifier/SISSO_DI/SISSOClassifier.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"descriptor_identifier/SISSO_DI/SISSOClassifier.hpp"
SISSOClassifier
::
SISSOClassifier
(
...
...
src/descriptor_identifier/SISSO_DI/SISSOClassifier.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file descriptor_identifier/SISSOClassifier.hpp
* @brief Perform SISSO on a previously generated Feature Space
*
...
...
src/descriptor_identifier/SISSO_DI/SISSOLogRegressor.cpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include
"descriptor_identifier/SISSO_DI/SISSOLogRegressor.hpp"
SISSOLogRegressor
::
SISSOLogRegressor
(
...
...
src/descriptor_identifier/SISSO_DI/SISSOLogRegressor.hpp
View file @
58987a62
// Copyright 2021 Thomas A. R. Purcell
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/** @file descriptor_identifier/SISSOLogRegressor.hpp
* @brief Perform SISSO on a previously generated Feature Space
*
...
...
Prev
1
2
3
4
5
…
8
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment