-
Notifications
You must be signed in to change notification settings - Fork 0
/
ner-params.par
40 lines (35 loc) · 1.58 KB
/
ner-params.par
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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.
# Sample machine learning properties file
# Choose between PERCEPTRON or MAXENT_QN
Algorithm=PERCEPTRON
Iterations=500
Cutoff=0
Threads=4
## IF MAXENT_QN is chosen, activate these parameters ##
# Costs for L1- and L2-regularization. These parameters must be larger or
# equal to zero. The higher they are, the more penalty will be imposed to
# avoid overfitting. The parameters can be set as follows:
# if L1Cost = 0 and L2Cost = 0, no regularization will be used,
# if L1Cost > 0 and L2Cost = 0, L1 will be used,
# if L1Cost = 0 and L2Cost > 0, L2 will be used,
# if both paramters are set to be larger than 0, Elastic Net
# (i.e. L1 and L2 combined) will be used.
L1Cost=0.1
L2Cost=0.1
# Number of Hessian updates to store
NumOfUpdates=15
# Maximum number of objective function's evaluations
MaxFctEval=30000